younifyd
Menu

Get Deployment Run Stats

Get Deployment Run Statistics

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

Use it in a workflow

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

Request

Path parameters

providerstringrequired

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

One ofvercelnetlify

idstring (uuid)required

Unique identifier of the tracked project.

Query parameters

rangestring

Time range for statistics. Accepts a duration string (e.g. `7d`, `24h`, `30m`). Defaults to `7d`.

Response

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

dataobject

Aggregated run statistics for the given time range.

json
{
  "data": {}
}

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