cURL
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", "environmentId": "<string>", "environmentName": "<string>", "isCurrent": true, "deploymentPageUrl": "<string>" }
Get a deployment by ID
Bearer token for authentication. Use an API key from the API Keys page in team settings, or an OAuth access token.
The ID of the deployment
The deployment details
ongoing
deployed
failed
canceled
Was this page helpful?
Contact support