Skip to main content
GET
Get a deployment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

deployment_id
string<uuid>
required

Response

The deployment and its targets.

One release of a published artefact digest to the host targets of an environment.

id
string<uuid>
required
environment
string
required

The name of the environment the release was deployed to.

Pattern: ^[a-z0-9][a-z0-9-]{0,62}$
environment_id
string<uuid>
required
repository_id
string<uuid> | null
required
repository
string | null
required

The pipeline repository as owner/name; null when it is no longer connected.

pipeline_run_id
string<uuid> | null
required
pipeline_step_id
string<uuid> | null
required
step_attempt
integer
required
Required range: x >= 1
release_name
string
required
artifact_repository
string
required
artifact_digest
string
required
Pattern: ^sha256:[a-f0-9]{64}$
artifact_tag
string | null
required
signature_key_id
string | null
required
commit_sha
string | null
required
state
enum<string>
required
Available options:
pending,
running,
succeeded,
failed,
cancelled,
timed_out
target_count
integer
required
Required range: x >= 0
succeeded_count
integer
required
Required range: x >= 0
failed_count
integer
required
Required range: x >= 0
error_class
string | null
required
error_message
string | null
required
requested_by
string | null
required
started_at
string<date-time> | null
required
finished_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
targets
object[]
required
targets_truncated
boolean
required

True when targets stopped at its 1000-row cap; target_count still carries the total.