The deployment object

⚠️
Preview — this feature is being built; the design below is the spec.

The deployment object as the API returns it. Every field below appears in every response that returns this object; fields with no value are null rather than missing.

Example

{
  "id": "dep_01JC9E2G4J6L8N0Q2S4U",
  "type": "deployment",
  "name": "daily-ticket-digest",
  "agent_id": "agt_01JC4R8W6Q2N9X3T5V7Y",
  "agent_version": null,
  "status": "active",
  "trigger": {
    "type": "schedule",
    "cron": "0 7 * * 1-5",
    "timezone": "Europe/London"
  },
  "input_template": "Summarise the support tickets opened on {{run.date_previous_day}}. Post the digest to #support-leads.",
  "session_options": {
    "memory_scope": "team:support",
    "limits": {
      "max_turns": 20
    }
  },
  "concurrency": "skip_if_running",
  "next_run_at": "2026-11-06T07:00:00Z",
  "last_run": {
    "id": "drn_01JC9F1H3K5M7P9R1T3V",
    "status": "succeeded",
    "session_id": "sesn_01JC9F2J4L6N8Q0S2U4W",
    "fired_at": "2026-11-05T07:00:00Z"
  },
  "created_at": "2026-11-01T12:00:00Z"
}

Fields

FieldTypeDescription
idstringUnique id of this object.
typestringThe object type, always deployment.
namestringName shown in the Console and in reports.
agent_idstringThe related agent.
agent_versionstring or nullSee the endpoint pages below.
statusstringCurrent state; see the values on the endpoint pages.
triggerobjectNested detail; see the endpoint pages below.
input_templatestringSee the endpoint pages below.
session_optionsobjectNested detail; see the endpoint pages below.
concurrencystringSee the endpoint pages below.
next_run_atstringSee the endpoint pages below.
last_runobjectNested detail; see the endpoint pages below.
created_atstringWhen it was created, RFC 3339 UTC (some older objects use Unix seconds).

Returned by

Was this page helpful?