Skip to content

List Run Queue Items

Method: GET

Endpoint: /api/v2/run-queue/items

Authentication: Supports Authorization: Bearer <YOUR_API_KEY>, api-key: <YOUR_API_KEY>, and ?token=<YOUR_API_KEY>. Prefer Bearer token.

GET/api/v2/run-queue/itemsList run queue items
AuthenticationRequired

Stored only in this browser tab. Sent only to https://openapi.coreclaw.com.

Parameters
query · integer · default `1`; minimum 0Optional

Page number, 1-based. `offset=1` is page 1, `offset=2` is page 2; `offset=0` is accepted as page 1. Out-of-range pages return an empty list. Constraints: default `1`; minimum 0.

query · integer · default `20`; range 1-100Optional

Page size. Constraints: default `20`; range 1-100.

query · stringOptional

Run status filter.

Request BodyNot applicable
No JSON request body. Fill the path or query parameters above.

Use this endpoint to see what is currently in the Run Queue. Each item represents a Worker run you submitted via Queue Worker Run that has not started executing yet — for example, a run that is waiting because the account balance was insufficient at submit time.

Typical uses:

  • Check how many runs are waiting before you decide what to do next.
  • Find the queue_ref of items you want to activate (start running) or release (give up and remove).
ParameterRequiredTypeDescription
offsetNointegerPage number, 1-based. offset=1 is page 1, offset=2 is page 2; offset=0 is accepted as page 1. Out-of-range pages return an empty list. Constraints: default 1; minimum 0.
limitNointegerPage size. limit is capped at 100 on list endpoints. Constraints: default 20; range 1-100.
statusNostringFilter by queue status. Allowed values: waiting (the run is held in the queue and not running yet) and inactive.
Terminal window
curl -X GET "https://openapi.coreclaw.com/api/v2/run-queue/items?offset=1&limit=20&status=waiting" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"code": 0,
"data": {
"count": 1,
"list": [
{
"queue_ref": "123456",
"queue_status": "waiting"
}
]
},
"message": "success",
"request_id": "req-123"
}

The exact fields inside data.list[] follow the platform’s queue item shape. The one you will use most is queue_ref — copy it to activate or release the item.

HTTP StatusApplication CodeMeaning
2000OK
40011000Bad Request
40112001Unauthorized
40411004Not Found
42211000Unprocessable Entity
42913000Too Many Requests
50010000Internal Server Error