Menu
Get Deployment Run
Retrieve Deployment Run
GET
/deployments/{provider}/runs/{id}Use it in a workflow
- Add a step and choose the Directus connector.
- Pick the Get Deployment Run action (under Deployments).
- Fill in the fields below, then reference the result from later steps as
{{getDeploymentRun.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getDeploymentRun.response.data.<field>}}.
{
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"project_id": "00000000-0000-0000-0000-000000000000",
"status": "building",
"url": "string",
"created_at": "2025-01-01T00:00:00Z",
"finished_at": "2025-01-01T00:00:00Z",
"error_message": "string",
"logs": [
{
"timestamp": "2025-01-01T00:00:00Z",
"type": "stdout",
"message": "string"
}
]
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?