Unpause Deployment
Updated at:
Resumes a paused Deployment to active status. Scheduled triggers resume according to the configured cron expression.
Prerequisites
Endpoint and authentication configured. For details, see API overview and authentication.
Endpoint
POST
/deployments/{deployment_id}/unpausePath parameters
deployment_idstringRequiredDeployment ID
Request example
curl -X POST "$AGENTSTUDIO_URL/deployments/depl_xxx/unpause" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response fields
idstringDeployment ID
typestringFixed value deployment
namestringDeployment name
descriptionstringDeployment description
agentobjectAssociated Agent
environment_idstringAssociated Environment ID
scheduleobjectScheduled trigger configuration
initial_eventsarray<object>Initial events sent to the Agent when triggered, 1-50 items
resourcesarray<object>Mounted file resources
vault_idsarray<string>Associated Vault IDs
metadataobjectBusiness metadata
statusstringResource status
paused_reasonstring | nullPause reason; returned only when paused
archived_atstring | nullArchive time; null if not archived
created_atstringCreation time, ISO 8601
updated_atstringLast update time, ISO 8601
request_idstringUnique identifier of this request; include it when troubleshooting
Response example
{
"id": "depl_xxx",
"type": "deployment",
"name": "Daily Report Generator",
"description": "Generates daily sales reports",
"agent": {
"id": "agent_xxx",
"version": 13
},
"environment_id": "env_xxx",
"schedule": {
"cron": "0 9 * * *"
},
"initial_events": [],
"resources": [],
"vault_ids": [],
"metadata": {},
"status": "active",
"paused_reason": null,
"archived_at": null,
"created_at": "2026-07-20T10:00:00Z",
"updated_at": "2026-07-28T02:00:00Z",
"request_id": "req_xxx"
}
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 400 | InvalidParameter | Required parameter missing or invalid. |
| 401 | InvalidApiKey | Invalid API-key provided. |
| 409 | DEPLOYMENT_STATE_CONFLICT | Cannot unpause an archived deployment. |
Is this page helpful?