Manually triggers a single Deployment execution. The response returns a Deployment Run object that tracks the execution lifecycle.
Prerequisites
Endpoint and authentication have been configured. For details, see API overview and authentication.
Endpoint
POST /deployments/{deployment_id}/run
Path parametersdeployment_idstring (必选)Deployment ID | Request example |
Response fieldsidstringDeployment Run IDtype stringFixed value deployment_rundeployment_id string—agent object—session_id string | nullnull until the asynchronous session creation completestrigger_source string—status string—error object | nullError information; returned only when the run failsstarted_at stringISO 8601 timestampfinished_at string | null—request_id stringUnique identifier of this request; include it when troubleshooting | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 400 | InvalidParameter | Required parameter missing or invalid. |
| 401 | InvalidApiKey | Invalid API-key provided. |
| 409 | DEPLOYMENT_TRIGGER_CONFLICT | Concurrent trigger conflict. |