Skip to main content
GET
/
v1
/
deployments
/
:deploymentId
Get a deployment
curl --request GET \
  --url https://api.alpic.ai/v1/deployments/:deploymentId \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "status": "ongoing",
  "sourceRef": "<string>",
  "sourceCommitId": "<string>",
  "sourceCommitMessage": "<string>",
  "authorUsername": "<string>",
  "authorAvatarUrl": "<string>",
  "startedAt": "2023-11-07T05:31:56Z",
  "completedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token for authentication. Get it from the API Keys page in team settings.

Query Parameters

deploymentId
string
required

The ID of the deployment

Response

The deployment details

id
string
required
status
enum<string>
required
Available options:
ongoing,
deployed,
failed,
canceled
sourceRef
string | null
required
sourceCommitId
string | null
required
sourceCommitMessage
string | null
required
authorUsername
string | null
required
authorAvatarUrl
string | null
required
startedAt
string<date-time> | null
required
completedAt
string<date-time> | null
required