getRelease

Get a release. Requires project.releases.read.

Arguments

  • releaseReferenceString!required

    Release ID, latest, or a version specifier: 1.2.3 for exact, 1.2 for the newest 1.2.x, 1 for the newest 1.x.x. Resolved in the request's project scope; latest and a version need one.

Responses

query GetRelease($releaseReference: String!) {  getRelease(releaseReference: $releaseReference) {    id    name    version    projectId    userId    createdAt    updatedAt    versions {      id      entityId      entityType      path      version      createdAt      createdBy      data      date      type      cacheKey      slug      name      body    }    assetManifest {      state      manifestVersion    }    exportOutcome    buildOutcome    deployOutcome  }}
{  "data": {    "getRelease": {      "id": "string",      "name": "string",      "version": "string",      "projectId": "string",      "userId": "string",      "createdAt": "2026-01-01T00:00:00Z",      "updatedAt": "2026-01-01T00:00:00Z",      "versions": [        {          "id": "string",          "entityId": "string",          "entityType": "string",          "path": "string",          "version": 0,          "createdAt": "2026-01-01T00:00:00Z",          "createdBy": "string",          "data": {},          "date": "string",          "type": "Component",          "cacheKey": "string",          "slug": "string",          "name": "string",          "body": "string"        }      ],      "assetManifest": {        "state": "queued",        "manifestVersion": 0      },      "exportOutcome": "in_progress",      "buildOutcome": "in_progress",      "deployOutcome": "in_progress"    }  }}

The Release in data.getRelease.