listReleases

List releases. Requires project.releases.read.

Arguments

  • projectReferenceString

    Project reference. Defaults to the request's project scope, or the authenticated account's accessible projects.

  • firstInt

    Maximum number of releases to return, between 1 and 100. Omit to return the complete list.

  • afterString

    Cursor from the previous page's pageInfo.endCursor. Releases are ordered by sortBy and sortOrder, newest first by default, with ties by release ID ascending; a continuation is bound to the same project or account and ordering.

  • sortByReleaseSortField

    Sort field. Defaults to created_at. One of created_at, version, status.

  • sortOrderReleaseSortOrder

    Sort order. Defaults to desc. One of asc, desc.

Responses

query ListReleases {  listReleases {    data {      id      name      version      projectId      userId      createdAt      updatedAt      exportOutcome      buildOutcome      deployOutcome    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "listReleases": {      "data": [        {          "id": "string",          "name": "string",          "version": "string",          "projectId": "string",          "userId": "string",          "createdAt": "2026-01-01T00:00:00Z",          "updatedAt": "2026-01-01T00:00:00Z",          "exportOutcome": "in_progress",          "buildOutcome": "in_progress",          "deployOutcome": "in_progress"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The ReleasesConnection in data.listReleases.