# Preview queue slots

Source: https://ampost.io/docs/api/queue-slots · Full reference: https://ampost.io/llms-full.txt

`GET /api/platform-sets/{platformSetId}/queue/slots` · MCP tool `queue_slots` · scope `posts:read` · rate limit `apiRead` · success `200`

The queue's next slot times from now on, as ISO timestamps (`scheduledFor`), each with the queued post holding it (`postId`, null when free); empty when the queue has no slots. With `filter: free` the first slot is where posts_create with `useQueue` puts the next post. Use it to tell the user when a queued post would go out or which times are taken; to read or change the weekly pattern itself, use queue_get and queue_update. `count` sets how many slots (1-50, default 10). 404 PLATFORM_SET_NOT_FOUND when the set is not yours or the key is restricted to other sets.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `platformSetId` | path | string | yes | Platform set id (UUID): `id` from platform_sets_list |
| `count` | query | integer | no | How many slots, 1-50. Default 10. |
| `filter` | query | all \| free | no | `free`: only free slots, the ones posts_create with `useQueue` fills next, in order. Default `all`: taken slots too, with their post. |

Example response:

```json
{
  "platformSetId": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
  "timezone": "Europe/Warsaw",
  "slots": [
    {
      "scheduledFor": "2027-01-11T08:00:00.000Z",
      "postId": "7f1c2a9e-4b1d-4c55-9a0e-2f6d8b3c1a10"
    },
    {
      "scheduledFor": "2027-01-13T11:30:00.000Z",
      "postId": null
    },
    {
      "scheduledFor": "2027-01-15T16:00:00.000Z",
      "postId": null
    }
  ]
}
```
