Deploy

List deploys for a deployment

GET
List deploys for a deployment

Path parameters

organizationIdstringRequired
The ID of the Organization to which the Deployment belongs.
deploymentIdstringRequired
The Deployment's ID.

Query parameters

offsetintegerOptional
The number of results to skip before returning values.
limitintegerOptional
The maximum number of results to return.

Response

This endpoint returns an object
deploys
list of objects
A list of deploys in the current page.
limit
integer
The maximum number of deploys in one page.
offset
integer
The offset of the current page of deploys.
totalCount
integer
The total number of deploys.
GET
1curl https://api.astronomer.io/platform/v1beta1/organizations/organizationId/deployments/deploymentId/deploys \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "deploys": [
3 {
4 "createdAt": "2022-11-22T04:37:12Z",
5 "deploymentId": "clmh57jtm000008lb58fe2wmv",
6 "id": "clvetru2w000201mowqwua63n",
7 "imageRepository": "https://my-image-repository",
8 "imageTag": "my-image-tag",
9 "isDagDeployEnabled": true,
10 "status": "INITIALIZED",
11 "type": "IMAGE_AND_DAG",
12 "airflowVersion": "2.7.2, if airflow version is not found, it will return NA",
13 "astroRuntimeVersion": "9.1.0",
14 "createdBySubject": {
15 "id": "clm8qv74h000008mlf08scq7k",
16 "apiTokenName": "my-token",
17 "avatarUrl": "https://avatar.url",
18 "fullName": "Jane Doe",
19 "username": "user1@company.com"
20 },
21 "dagTarballVersion": "2024-01-12T18:32:20.5898930Z",
22 "dagsUploadUrl": "https://astroproddagdeploy.windows.core.net/clmh59gt0000308lbgswe5fvh/clmh57jtm000008lb58fe2wmv",
23 "description": "My deploy description",
24 "rollbackFromId": "clvcz1lrq000101oitxtp276e",
25 "updatedAt": "2022-11-22T04:37:12Z",
26 "updatedBySubject": {
27 "id": "clm8qv74h000008mlf08scq7k",
28 "apiTokenName": "my-token",
29 "avatarUrl": "https://avatar.url",
30 "fullName": "Jane Doe",
31 "username": "user1@company.com"
32 }
33 }
34 ],
35 "limit": 1,
36 "offset": 1,
37 "totalCount": 1
38}