---
title: "List schedules"
method: GET
path: "/v1/schedules"
tags: ["Schedules"]
---

# List schedules

`GET /v1/schedules`

## Request

- Base URL: `https://api.sandbase.ai`
- URL: `https://api.sandbase.ai/v1/schedules`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

List definitions with offset pagination (limit 1-100).

## Query parameters

- `status` 'active' | 'paused' | 'archived' | 'all'
- `agent_id` string
- `limit` integer
- `offset` integer

## Response `200`

Schedule page

- RunSourceDefinitionList
  - `data` object[], required
    - `id` string, required: Service (`svc_`) or Schedule (`sch_`) ID.
    - `kind` 'service' | 'schedule', required
    - `name` string, required
    - `description` string, required
    - `agent_id` string, required
    - `agent_version` integer, required: Pinned Agent version.
    - `input` string, required
    - `model` string
    - `status` 'active' | 'paused' | 'archived', required
    - `row_version` integer, required: Schedule row_version also advances after every scheduled tick.
    - `schedule` ScheduleSpec
      - `cron` string, required: Five-field cron expression: minute hour day-of-month month day-of-week. Seconds are not supported. An expression with no match in the next 366 days returns 400.
      - `timezone` string: IANA timezone name, such as Asia/Shanghai.
    - `next_run_at` string, date-time
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required

## Other responses

- `400`: invalid_request (malformed JSON, unknown fields, failed validation, or an unsupported option)
- `401`: unauthorized: missing, malformed, or conflicting API key headers
- `402`: spending_limit_exceeded: API key spending limit or organization balance exhausted
- `403`: insufficient_scope (scoped key) or org_disabled
- `503`: authorization_unavailable, admission_unavailable, executor_unavailable, storage_unavailable, or internal_error

---

[API](https://skmtc.dev/sandbase/apis/sandbase-api.md) · [All operations](https://skmtc.dev/sandbase/apis/sandbase-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sandbase/apis/sandbase-api/revisions/d40df2467ba2?raw)
