Get deployment

deployment(projectReference: String!, deploymentId: ID!): Deployment!

Requires project.deployments.read.

Arguments

ArgumentTypeRequiredDescription
projectReferenceString!YesProject UUID, slug or configured domain.
deploymentIdID!YesDeployment ID.

Response

Returns Deployment!. Open the type for its fields and nested types.

FieldTypeDescription
idID!
releaseIdID!
environmentIdID!
userIdID
createdAtDateTime
updatedAtDateTime
releaseReleaseThe deployed release, when the producing operation hydrates it.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query Deployment($projectReference: String!, $deploymentId: ID!) {
  deployment(projectReference: $projectReference, deploymentId: $deploymentId) {
    id
    createdAt
    updatedAt
    environmentId
    releaseId
  }
}
json
{
  "projectReference": "00000000-0000-4000-8000-000000000001",
  "deploymentId": "00000000-0000-4000-8000-000000000001"
}