A cron job's recent runs, newest first: when each started and finished, how it ended, and the end of what it printed.
API key access: read.
apiKeyAuthorizationBearer <pyo_…>An API key from the dashboard's API keys page: Authorization: Bearer pyo_…. Keys can expire, and an expired one gets a 401.
service*stringThe service's id (svc_…).
cron?stringThe cron job's id. Empty for a service that is itself a cron job.
runs: each with job, startedAt, finishedAt, status (running, succeeded or failed), exitCode, reason and output.
application/jsoncurl -X GET 'https://your-pyo.example.com/api/v1/cron-runs?service=string'{}