List cd — GET /v1/platform/cd

Answers every Application the delivery plane holds.

GET /v1/platform/cd

Addresshttps://api.hanzo.ai/v1/platform/cd
MethodGET
Operationget_platform_cd
AuthAuthorization: Bearer $HANZO_API_KEY

Answers every Application the delivery plane holds.

Scoped to the namespaces the caller's own validated org owns: the ROLE admits the caller and the tenant boundary is applied inside, so an admin of one org never observes another's.

Request

GET /v1/platform/cd takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200platform.cdRespok
defaultproblem-detailsrefused

200 body — 16 fields.

FieldInTypeAlwaysDescription
applicationsbodyplatform.CDApp[]—
applications[].appliedbodystring—Applied is the universe commit CD last synced, from its deploy history.
applications[].automatedbodyboolean—Automated is whether CD applies git without being asked.
applications[].clusterbodystring—Cluster is where the Application deploys: its destination cluster's name, else its server URL (https://kubernetes.default.svc is CD's own cluster).
applications[].healthbodystring—Health is the workload's verdict: Healthy, Progressing, Degraded, Missing.
applications[].messagebodystring—Message is why, when Health is not Healthy.
applications[].namebodystring—Name is the Application name the generator mints: <namespace>-<app>.
applications[].namespacebodystring—Namespace is the DESTINATION namespace as the CR declares it — where the workload lands.
applications[].operationMessagebodystring—
applications[].pathbodystring—Path is the values file CD renders against, relative to the chart source.
applications[].phasebodystring—Phase is the last sync operation's phase (Running, Succeeded, Failed) and OperationMessage is its message.
applications[].projectbodystring—Project is the AppProject fence the sync is admitted under.
applications[].reconciledAtbodystring—ReconciledAt is when CD last compared this Application.
applications[].revisionbodystring—Revision is the universe commit CD last compared the cluster against — what a sync applies.
applications[].selfHealbodyboolean—SelfHeal is whether CD also corrects drift the cluster introduced.
applications[].syncbodystring—Sync is CD's verdict on git-versus-cluster: Synced, OutOfSync, or Unknown.

Failure carries the platform error shape — see Errors.

Examples

hanzo platform cd
import { Configuration, PlatformApi } from 'hanzoai';

const api = new PlatformApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getPlatformCd();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import PlatformApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = PlatformApi(client).get_platform_cd()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.PlatformAPI.GetPlatformCd(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, platform_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = platform_api::get_platform_cd(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.PlatformApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new PlatformApi(client).getPlatformCd();
curl https://api.hanzo.ai/v1/platform/cd \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool platform, op get_platform_cd — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "platform",
         "arguments": {
           "op": "get_platform_cd",
           "input": {}
         }
       }
     }'

Platform API · All Hanzo APIs · Interactive reference

Was this page useful?