API referenceSections

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}/cron

A website's scheduled tasks (ADR 0048)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Tasks

Content type: application/json

object
  • items array<CronTask> required
    • name string required
    • schedule string required

      Five-field cron: minute hour day month weekday, or @daily etc.

    • kind string required
      Allowed values: "command" "url"
    • program string optional
      Allowed values: "php" "node" "python" "file"
    • version string optional

      Node or Python version for those programs

    • path string optional

      Script or file, relative to the website's folder

    • args array<string> optional
    • url string optional
    • timeout_seconds integer optional
    • enabled boolean optional
    • id string required
    • site_id string required
    • created_at string (date-time) required
    • updated_at string (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

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required