Deployments

List deployments

Returns production deployments in the caller's current workspace by default. Filter by project_slug and optional environment_slug to select a project environment.

get/deployments

Request

  • Base URL: /v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/deployments
  • Auth: HTTP bearer

Query parameters

project_slugstring

Filter deployments to a project slug. When environment_slug is omitted, the production environment is used.

environment_slugstring

Filter deployments to an environment slug within project_slug.

limitinteger

Maximum number of deployments to return. Defaults to all.

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "/v1/schemas/ListResponseDeploymentResponse.json",
  "data": [
    {
      "$schema": "/v1/schemas/DeploymentResponse.json"
    }
  ]
}

Changes

No recorded changes to this operation across all 3 revisions of this API.