Syndai Docs

Get a schedule

GET
/api/v1/external/coding/schedules/{schedule_id}

Returns one schedule with its recent occurrences: each fire, what it did and the run it started. 404 for a schedule that is not yours.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

schedule_id*string
Formatuuid

Query Parameters

customer_id?|null

Response Body

Request fulfilled, document follows

application/json
  1. response
occurrences*array<>
schedule*
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "occurrences": [    {      "coding_run_id": "2eb06abe-ea21-479f-8a58-08d8b870bcfb",      "created_at": "2019-08-24T14:15:22Z",      "disposition": "string",      "slot_ts": "2019-08-24T14:15:22Z",      "summary": "string"    }  ],  "schedule": {    "cadence_label": "Weekly on Monday at 9:00 AM",    "coding_repository_id": "8a1d4e2f-5b6c-4d7e-8f9a-0b1c2d3e4f50",    "consecutive_failures": 0,    "created_at": "2026-10-27T09:00:00Z",    "id": "7d6c5b4a-3928-4f17-8e6d-5c4b3a291807",    "next_fire_at": "2026-11-02T09:00:00Z",    "prompt": "Update dependencies and fix anything the upgrade breaks.",    "repo_name": "storefront",    "schedule_paid_on": false,    "skip_if_no_new_commits": true,    "status": "active",    "trigger": {      "expr": "0 9 * * 1",      "kind": "cron",      "timezone": "Europe/London"    }  }}