younifyd
Menu

Get Deployment Run

Retrieve Deployment Run

GET/deployments/{provider}/runs/{id}

Use it in a workflow

  1. Add a step and choose the Directus connector.
  2. Pick the Get Deployment Run action (under Deployments).
  3. Fill in the fields below, then reference the result from later steps as {{getDeploymentRun.response.data}}.

Request

Path parameters

providerstringrequired

The deployment provider name (e.g. `vercel`, `netlify`).

One ofvercelnetlify

idstring (uuid)required

Unique identifier of the deployment run.

Query parameters

sincestring (date-time)

ISO 8601 timestamp. When provided, only log entries after this time are returned (for incremental polling).

Response

Returns 200 with an object. Read it in later steps with {{getDeploymentRun.response.data.<field>}}.

dataobject
idstring (uuid)
project_idstring (uuid)
statusstring

One ofbuildingreadyerrorcanceled

urlstring
created_atstring (date-time)
finished_atstring (date-time)
error_messagestring
logsarray<object>3 fields
json
{
  "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.

Get Deployment Run — Directus — Documentation