Menu
Get Deployment
Retrieve Deployment Configuration
GET
/deployments/{provider}Use it in a workflow
- Add a step and choose the Directus connector.
- Pick the Get Deployment action (under Deployments).
- Fill in the fields below, then reference the result from later steps as
{{getDeployment.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getDeployment.response.data.<field>}}.
{
"data": {
"id": "8cbb43fe-4cdf-4991-8352-c461779cec02",
"provider": "vercel",
"credentials": {
"token": "abc123"
},
"options": {
"team_id": "team_abc123"
},
"webhook_ids": [
"string"
],
"webhook_secret": "string",
"last_synced_at": "2025-01-01T00:00:00Z",
"date_created": "2025-01-01T00:00:00Z"
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?