listDeployments

List deployments. Requires project.deployments.read.

Arguments

  • inputListDeploymentsInput!required

  • input.projectReferenceString

  • input.environmentIdID

  • input.limitInt

  • input.sortByString

    Sort field. Only created_at.

  • input.sortOrderString

  • input.cursorString

Responses

query ListDeployments($input: ListDeploymentsInput!) {  listDeployments(input: $input) {    data {      id      releaseId      environmentId      userId      createdAt      updatedAt    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "listDeployments": {      "data": [        {          "id": "string",          "releaseId": "string",          "environmentId": "string",          "userId": "string",          "createdAt": "2026-01-01T00:00:00Z",          "updatedAt": "2026-01-01T00:00:00Z"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The DeploymentsConnection! in data.listDeployments.