younifyd
Menu

Get Deployment Projects

List Deployment Projects

GET/deployments/{provider}/projects

Use it in a workflow

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

Request

Path parameters

providerstringrequired

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

One ofvercelnetlify

Response

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

dataarray<object>
idstring (uuid)

Internal project UUID (null if not yet tracked).

external_idstring

Project ID from the deployment provider.

namestring

Project name from the provider.

urlstring

Production URL for the project.

frameworkstring

Framework detected by the provider.

deployableboolean

Whether the project has a Git source and can trigger deployments.

selectedboolean

Whether this project is currently tracked in Directus.

json
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "external_id": "prj_abc123",
      "name": "my-directus-app",
      "url": "https://my-directus-app.vercel.app",
      "framework": "nextjs",
      "deployable": true,
      "selected": false
    }
  ]
}

Need more? See the Directus guide for connection setup and behaviour shared by every action.