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

# List schedules

`GET /v1/schedules`

Scope: `schedules:read`. A schedule-store outage returns 503 DB_UNAVAILABLE with Retry-After, not a bare 500.

## Query parameters

- `limit` integer

## Response `200`

Schedules.

- ListSchedulesResponse
  - `data` ScheduleResponse[], required
    - `id` string, required
    - `name` string, required
    - `machine_id` string, required
    - `task_prompt` string, required
    - `enabled` boolean, required
    - `frequency` string, required
    - `cron` string, required
    - `timezone` string, required
    - `next_run_at` string, date-time, nullable
    - `last_run_at` string, date-time, nullable
    - `run_count` integer
    - `consecutive_failures` integer
    - `paused_reason` string, nullable
    - `is_test` boolean
    - `created_at` string, date-time, nullable
    - `metadata` object
    - `llm` ScheduleLlmPreference — Credential-free schedule preference. The schedule never stores a provider key or ciphertext; the current stored key is resolved at every fire.
      - `provider` 'anthropic' | 'openai', required
      - `model` string, required
      - `grounding_model` string, nullable
      - `compaction_model` string, nullable
      - `code_agent_model` string, nullable
      - `key_fingerprint` string, required
    - `request_id` string, required
  - `has_more` boolean
  - `request_id` string, required

## Other responses

- `400` — Invalid request body or parameters.
- `401` — Missing, invalid, or revoked API key. Pass `X-API-Key: sk-coasty-live-...` (or test).
- `403` — API key lacks the required scope or tier-feature is unavailable on the caller's plan.
- `404` — Resource not found in this key's namespace.
- `409` — The resource state conflicts with this operation.
- `413` — The request body exceeds the endpoint limit.
- `422` — The JSON shape is valid but one or more values violate the endpoint contract.
- `429` — Rate or concurrency limit exceeded.
- `500` — Unexpected server error. Retry with exponential backoff.
- `502` — An upstream dependency returned an invalid response.
- `503` — A required service is temporarily unavailable.
- `504` — An upstream dependency timed out.

---

[API](https://skmtc.net/coasty/apis/coasty-public-api.md) · [All operations](https://skmtc.net/coasty/apis/coasty-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coasty/coasty-public-api/revisions/f50d93b0d8a1/schema)
