List schedules for an agent (recurring + one-time)
GET
List schedules for an agent (recurring + one-time).
Personal access token scope: schedules:read.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
agent_id*stringSuccess
curl -X GET 'http://localhost:7091/api/agents/string/schedules'Example Response200
Empty
Return run count, failures, tokens and latest failure for an agent GET
Run stats for an agent's schedules over a recent window. Args: agent_id: Agent id from the URL. Returns: A Flask response with `days`, `runs`, `failed`, `tokens` and `latest_failure` (or an error envelope). [Personal access token](/API/personal-access-tokens) scope: `schedules:read`.
Get schedule by id GET
Get schedule by id. [Personal access token](/API/personal-access-tokens) scope: `schedules:read`.