import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/deployments"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/deployments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/applications/{application_id}/deployments \
--cookie ankra_session={
"deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"removal_deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"draft_deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"failed_deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"total_clusters": 123,
"total_stacks": 123,
"healthy_count": 123,
"degraded_count": 123,
"failed_count": 123,
"clusters_up_to_date": 123,
"clusters_behind": 123,
"latest_chart_version": "<string>"
}{
"detail": "<string>"
}List application deployment placements (browser session)
Returns owned application placements and optional workload identity for independent live image verification. Workload references are the applied manifest identities, not proof of running images or availability.
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/deployments"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/deployments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/applications/{application_id}/deployments \
--cookie ankra_session={
"deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"removal_deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"draft_deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"failed_deployments": [
{
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"cluster_kind": "<string>",
"environment": "<string>",
"deployment_kind": "<string>",
"addon_name": "<string>",
"stack_name": "<string>",
"namespace": "<string>",
"app_resource_id": "<string>",
"installed_version": "<string>",
"health_status": "<string>",
"sync_status": "<string>",
"pod_ready": 123,
"pod_total": 123,
"desired_version": "<string>",
"version_drift": true,
"last_updated_at": "<string>",
"is_draft": true,
"ingress_host": "<string>",
"ingress_host_publication": "<string>",
"failure_message": "<string>",
"failure_condition": "<string>",
"manifest_drift": "<string>",
"manifest_drift_detail": "<string>",
"ingress_tls_state": "ready",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
},
"redirect_hosts": [
"<string>"
],
"workload_references": [
{
"kind": "Deployment",
"name": "<string>",
"namespace": "<string>"
}
],
"removing": true,
"addon_resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deployed_by_application": true,
"cluster_state": "<string>",
"removal_pending_start": true
}
],
"total_clusters": 123,
"total_stacks": 123,
"healthy_count": 123,
"degraded_count": 123,
"failed_count": 123,
"clusters_up_to_date": 123,
"clusters_behind": 123,
"latest_chart_version": "<string>"
}{
"detail": "<string>"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Path Parameters
Response
Application deployment placements
Show child attributes
Show child attributes
Deployments whose removal is recorded: being taken down now (removing), or waiting for their stopped cluster to start (removal_pending_start). They are not counted in total_clusters, healthy_count, degraded_count or the chart version counts, and carry no health_status or sync_status. A removal that is taken back, or that fails on the cluster, returns the row to deployments.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes