List scheduled run history
GET/cron/runs
Returns the durable history of scheduled runs, newest scheduled occurrence first, for every job or for one job. Each run records when it was due, how it ended, and the session it ran in. Takes no session header.
- History includes jobs that are no longer configured, and it stays readable while
PEEN_CRONis off. - Pages with
limitandoffset. Ajobvalue that does not match the name pattern answers400 VALIDATION_FAILED; a valid name with no runs returns an empty page. - Open a run's conversation with its
sessionIdasX-Session-IDonGET /messages.
Request
Responses
- 200
- 400
- 401
- 406
- 500
One page of scheduled runs, newest scheduled occurrence first.
Response Headers
The request's correlation ID. When the request carried an X-Request-ID header holding a UUID, Peen echoes it; otherwise Peen generates a new UUID. The controller log records the same value for this request.
The request is invalid. code is VALIDATION_FAILED for a bad parameter, body field, page bound, base64 value or file size, or a body that is not one JSON value or exceeds the body limit, and INVALID_SESSION_ID for a malformed X-Session-ID header.
PEEN_API_TOKEN is set and the request's bearer token is missing or wrong. code is UNAUTHORIZED. A deployment with no token never returns this.
The request's Accept header allows neither application/json nor */*, and every response is JSON. code is BAD_REQUEST and message is unsupported response representation. Omit Accept or send application/json.
An unexpected server failure. code is INTERNAL_SERVER_ERROR and message is internal server error. The controller log has the details under the response's X-Request-ID.