Pause Deployment
Path parameters
Path parameter deployment_id
Headers
Response
Successful response (OK)
Example response
{
"type": "deployment",
"id": "depl_011CZkZcDH3vPqd7xnEfwTai",
"name": "Daily order report",
"description": "Compiles yesterday's orders into a report every weekday morning.",
"agent": {
"type": "agent",
"id": "agent_011CZkYpogX7uDKUyvBTophP",
"version": 1
},
"environment_id": "env_011CZkZ9X2dpNyB7HsEFoRfW",
"vault_ids": [
"vlt_011CZkZDLs7fYzm1hXNPeRjv"
],
"initial_events": [
{
"type": "user.message",
"content": [
{
"type": "text",
"text": "Compile yesterday's orders into report.md."
}
]
}
],
"resources": [],
"metadata": {},
"schedule": {
"type": "cron",
"expression": "0 9 * * 1-5",
"timezone": "America/Los_Angeles",
"last_run_at": "2026-03-16T16:00:09Z",
"upcoming_runs_at": [
"2026-03-17T16:00:00Z",
"2026-03-18T16:00:00Z"
]
},
"status": "active",
"paused_reason": null,
"created_at": "2026-03-15T10:00:00Z",
"updated_at": "2026-03-15T10:00:00Z",
"archived_at": null
}Changes
Changed in 3 of the 67 revisions of this API.815
- ▲
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
initial_events/items/oneOf[BetaManagedAgentsDeploymentUserDefineOutcomeEvent]/max_iterationslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
initial_events/items/oneOf[BetaManagedAgentsDeploymentUserMessageEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/contextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
initial_events/items/oneOf[BetaManagedAgentsDeploymentUserMessageEvent]/content/items/oneOf[BetaManagedAgentsDocumentBlock]/titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
resources/items/oneOf[BetaManagedAgentsFileResourceConfig]/mount_pathlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
resources/items/oneOf[BetaManagedAgentsGitHubRepositoryResourceConfig]/mount_pathlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
resources/items/oneOf[BetaManagedAgentsMemoryStoreResourceConfig]/instructionslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
removed
BetaManagedAgentsBudgetfrom thebudgetresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
removed
BetaManagedAgentsDeploymentPausedReasonfrom thepaused_reasonresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
removed
BetaManagedAgentsMountModefrom theresources/items/oneOf[BetaManagedAgentsMemoryStoreResourceConfig]/accessresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
removed
BetaManagedAgentsRepositoryCheckoutfrom theresources/items/oneOf[BetaManagedAgentsGitHubRepositoryResourceConfig]/checkoutresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
removed
BetaManagedAgentsSchedulefrom thescheduleresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
removed
BetaTimestampfrom thearchived_atresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
added
BetaManagedAgentsBudgetsubschema #2to thebudgetresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
added
BetaManagedAgentsDeploymentPausedReasonsubschema #2to thepaused_reasonresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
added
BetaManagedAgentsMountModesubschema #2to theresources/items/oneOf[BetaManagedAgentsMemoryStoreResourceConfig]/accessresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
added
BetaManagedAgentsRepositoryCheckoutsubschema #2to theresources/items/oneOf[BetaManagedAgentsGitHubRepositoryResourceConfig]/checkoutresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
added
BetaManagedAgentsSchedulesubschema #2to thescheduleresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
added
BetaTimestampsubschema #2to thearchived_atresponse propertyanyOflist for the response status200response-property-any-of-added
- ▲
- ▲
added
BetaManagedAgentsRedactedBlockto theinitial_events/items/oneOf[BetaManagedAgentsDeploymentUserMessageEvent]/content/items/response propertyoneOflist for the response status200response-property-one-of-added
- ○
added the optional property
budgetto the response with the200statusresponse-optional-property-added
- ○
added
redacteddiscriminator mapping keys to theinitial_events/items/oneOf[BetaManagedAgentsDeploymentUserMessageEvent]/content/items/response property for the response status200response-property-discriminator-mapping-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○