Queues

List queue items

GET
/queues/{queue_id}/items

List the items of a queue, newest first, without payload, optionally of one status.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

queue_id*string

Resource identifier: queue_id.

Formatuuid

Query Parameters

space_id?string

Optional guard: the Space of the queue; another Space answers queue not found.

Formatuuid
status?string

Filter or parameter: status.

Value in

  • "pending"
  • "leased"
  • "done"
  • "dead"
cursor?string

Opaque continuation cursor from the previous response.

Lengthlength <= 2048
limit?integer

Filter or parameter: limit.

Range1 <= value <= 100
Default50

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/queues/123e4567-e89b-42d3-a456-426614174000/items"
{  "items": [    {      "id": 0,      "status": "pending"    }  ],  "next_cursor": null}