Skip to main content

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_CRON is off.
  • Pages with limit and offset. A job value that does not match the name pattern answers 400 VALIDATION_FAILED; a valid name with no runs returns an empty page.
  • Open a run's conversation with its sessionId as X-Session-ID on GET /messages.

Request​

Responses​

One page of scheduled runs, newest scheduled occurrence first.

Response Headers
    X-Request-ID

    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.