A website's scheduled tasks
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/sites/{id}/cronA website's scheduled tasks (ADR 0048)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 Tasks
Content type: application/json
object
namestring requiredschedulestring requiredFive-field cron: minute hour day month weekday, or @daily etc.
kindstring requiredAllowed values:"command""url"programstring optionalAllowed values:"php""node""python""file"versionstring optionalNode or Python version for those programs
pathstring optionalScript or file, relative to the website's folder
argsarray<string> optionalurlstring optionaltimeout_secondsinteger optionalenabledboolean optionalidstring requiredsite_idstring requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) required
Example
{
"items": [
{
"name": "string",
"schedule": "string",
"kind": "command",
"program": "php",
"version": "string",
"path": "string",
"args": [
"string"
],
"url": "string",
"timeout_seconds": 0,
"enabled": true,
"id": "string",
"site_id": "string",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required