Skip to main content
GET
/
sandboxes
/
{sandboxName}
/
schedules
List Sandbox Schedules
curl --request GET \
  --url https://api.blaxel.ai/v0/sandboxes/{sandboxName}/schedules \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "createdAt": "<string>",
      "id": "schedule-0",
      "input": {
        "command": "python train.py --epochs 10",
        "env": {},
        "keepAlive": true,
        "name": "training-job",
        "timeout": 3600,
        "workingDir": "/app"
      },
      "maxExecutions": 100,
      "type": "cron",
      "value": "0 8 * * 1-5"
    }
  ],
  "meta": {
    "hasMore": true,
    "nextCursor": "<string>",
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

OAuth2 authentication with JWT tokens

Path Parameters

sandboxName
string
required

Name of the Sandbox

Query Parameters

limit
integer
default:20

Number of items per page

Required range: 1 <= x <= 100
cursor
string

Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.

sort
enum<string>

Sort spec, formatted as <key>:<direction>. Allowed values are createdAt:desc (default), createdAt:asc, name:asc, name:desc. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.

Available options:
createdAt:desc,
createdAt:asc,
name:asc,
name:desc
q
string

Substring search across metadata.name, metadata.displayName and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.

Maximum string length: 200
type
enum<string>

Filter schedules by timing type. Only cron and at are stored (sleep resolves to at on creation); any other value is ignored.

Available options:
cron,
at

Response

200 - application/json

successful operation

Cursor-paginated list of a sandbox's schedule definitions.

data
object[]

Page of schedule definitions.

meta
object

Pagination metadata returned alongside a page of listing results. Always present on listing endpoints starting with API version 2026-04-28.

Last modified on June 30, 2026