younifyd
Menu

Get Deployment

Retrieve Deployment Configuration

GET/deployments/{provider}

Use it in a workflow

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

Request

Path parameters

providerstringrequired

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

One ofvercelnetlify

Query parameters

fieldsarray<string>

Control what fields are being returned in the object.

metastring

What metadata to return in the response.

Response

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

dataobject
idstring (uuid)

Unique identifier for the deployment configuration.

providerstring

The deployment provider. One of `vercel` or `netlify`.

One ofvercelnetlify

credentialsobject

Provider-specific credentials (e.g. API token). Stored encrypted.

optionsobject

Provider-specific configuration options.

webhook_idsarray<string>

IDs of webhooks registered with the provider for this config.

webhook_secretstring

Secret used to verify webhook payloads from the provider.

last_synced_atstring (date-time)

Timestamp of the last provider sync.

date_createdstring (date-time)

When this deployment config was created.

json
{
  "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.