API referenceCron jobs
List a service's cron jobs
GET
Lists the cron jobs of a service with their next run time and last result.
Needs services.view on the service (a grant on its project covers it). Available to MCP clients and the assistant.
cookie
seylo_session<token>serviceId*stringPanel-issued id.
Match
^[a-z0-9]{16}$Success.
application/json- response
jobs*array<>curl -X GET 'https://example.com/api/v1/cron.list?serviceId=string'Example Response
{ "jobs": [ { "id": "string", "serviceId": "string", "name": "string", "schedule": "string", "timeZone": "string", "command": "string", "timeoutSeconds": 1, "concurrency": "forbid", "enabled": true, "nextRunAt": "2019-08-24T14:15:22Z", "lastRun": { "id": "string", "cronJobId": "string", "serviceId": "string", "nodeId": "string", "result": "running", "manual": true, "exitCode": 0, "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "durationMs": 0 }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}Delete a cron job POST
Deletes a cron job and its run history. A run in progress is stopped. Needs `services.cron` on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.
Get a cron run with its output GET
Returns one cron run with the last lines of its output (redacted on the node). Needs `services.logs` on the service (a grant on its project covers it). Available to MCP clients and the assistant.