Get a deployment
GET
/v1/deployments/{deploymentId}CopyReturns the current status of one deployment belonging to the API key's site.
Header
Authorization
stringrequiredA site-scoped key created from the Radiant dashboard.
Path Parameters
deploymentId
string (uuid)requiredThe deployment identifier returned when the deployment was created.
Responses
200
The deployment and its current status.id
string (uuid)requiredsiteId
string (uuid)requiredstatus
enum<string>requiredOptions:
queued, building, success, failed or canceledtrigger
stringrequiredThe workflow that created the deployment.
commit
objectrequiredsha
stringrequiredmessage
stringnullrequiredfailure
object | nullrequiredOne of these variants applies.
object
message
stringrequiredcreatedAt
string (date-time)requiredupdatedAt
string (date-time)required401
The request is missing a valid, active Radiant API key.error
objectrequiredcode
stringrequiredmessage
stringrequireddetails
object[key: string]
any403
The API key does not have the scope required by the operation.error
objectrequiredcode
stringrequiredmessage
stringrequireddetails
object[key: string]
any404
The resource does not exist or is outside the API key's site scope.error
objectrequiredcode
stringrequiredmessage
stringrequireddetails
object[key: string]
any500
Radiant could not complete the request because of an internal error.error
objectrequiredcode
stringrequiredmessage
stringrequireddetails
object[key: string]
any