Get a deployment
Retrieve a single deployment by its ID.
Retrieve a single deployment by its ID.
Authorization
projectToken Authenticate as a project with a project token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <project-token>You can find your project token in your Argos project settings. Project tokens are used by CI and the SDK to create builds and deployments.
In: header
Path Parameters
The deployment ID
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/deployments/string"{ "id": "string", "status": "pending", "environment": "preview", "branch": "string", "commitSha": "string", "url": "http://example.com", "createdAt": "string"}Create a deployment POST
Create a deployment and receive signed upload URLs for the files Argos doesn't already store. Files already present (matched by content hash) are reused and omitted from `uploadFiles`. The environment is inferred from the branch when omitted.
Finalize a deployment POST
Mark a deployment as ready once all of its files have been uploaded. Argos assigns the deployment's aliases and starts serving it.