Skip to main content
API reference sections

Schema

ScheduleView

One canonical schedule projection. header is the stored authored value; state is the converged ownership/lifecycle reduction.

Type object

Shape

FieldTypeDescription
workspacerequiredWorkspaceId
documentrequiredDocumentId

DocumentId - a client-minted v4 UUID, hyphenated and lowercase. Immutable, and never derived from a name or a path.

nameScheduleName or null

Defaultable for the earlier unreleased v5 response shape. A missing value is displayed with the objective-derived compatibility fallback.

headerrequiredScheduleHeader
staterequiredScheduleState
next_firingScheduleNextFiring or null
firingsrequiredarray of ScheduleFiringView
Example
{
  "workspace": "00000000-0000-4000-8000-000000000000",
  "document": "00000000-0000-4000-8000-000000000000",
  "name": "string",
  "header": {
    "schedule": "00000000-0000-4000-8000-000000000000",
    "created_at_ms": 0,
    "initial_owner": "string",
    "definition": {
      "revision": 0,
      "effective_at_ms": 0,
      "template": {
        "requested_by": {
          "profile": "00000000-0000-4000-8000-000000000000",
          "kind": "person"
        },
        "objective": "string",
        "agent": {
          "kind": "built_in",
          "value": "string"
        },
        "requested_model": "string",
        "scope": {
          "kind": "none"
        },
        "grants": [],
        "context": []
      },
      "recurrence": {
        "cron": "string",
        "type": "floating"
      },
      "lifecycle": "active"
    }
  },
  "state": {
    "owner": "string",
    "state": "active"
  },
  "next_firing": {
    "at_ms": 0,
    "kind": "exact"
  },
  "firings": [
    {
      "occurrence_ms": 0,
      "revision": 0,
      "outcome": "fired",
      "run": "00000000-0000-4000-8000-000000000000",
      "busy_holder": "00000000-0000-4000-8000-000000000000",
      "at": 0
    }
  ]
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.