---
title: "List schedules for a context"
method: GET
path: "/v1/contexts/{contextId}/schedules"
tags: ["Configuration Schedules"]
---

# List schedules for a context

`GET /v1/contexts/{contextId}/schedules`

Use this endpoint to retrieve all reconciliation schedules for a specific context.

## Path parameters

- `contextId` string, required

## Query parameters

- `limit` integer
- `cursor` string

## Headers

- `X-Request-Id` string

## Response `200`

List of schedules for the context

- ListSchedulesResponse — Paginated list of schedules
  - `items` ScheduleResponse[]
    - `id` string, uuid — Unique identifier for the schedule
    - `contextId` string, uuid — Context this schedule belongs to
    - `cronExpression` string — Cron expression defining the schedule
    - `enabled` boolean — Whether the schedule is active
    - `lastRunAt` string, date-time — Last successful run time in RFC 3339 format
    - `nextRunAt` string, date-time — Next scheduled run time in RFC 3339 format
    - `createdAt` string, date-time — Creation timestamp in RFC 3339 format
    - `updatedAt` string, date-time — Last update timestamp in RFC 3339 format
  - `cursor` string — Cursor value to retrieve the next page of results

## Other responses

- `400` — The request contains invalid parameters or payload.
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — Context not found
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
