data.deploy.list-k8s-targets ​
List DeploymentTargets where provider_type = kubernetes
List DeploymentTargets backed by a Kubernetes connection.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-deployments |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | No | — | Narrow to one connection; omit to list all k8s targets in the org |
namespace | string | No | — | Narrow to one namespace inside the connection |
limit | integer | No | 200 | — |
offset | integer | No | 0 | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | json | No | — | — |
count | integer | No | — | — |
total | integer | No | — | — |
limit | integer | No | — | — |
offset | integer | No | — | — |
error | string | No | — | — |
error_type | string | No | — | Error-as-field envelope populated when query() raises. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.deploy.list-k8s-targets",
"initial_data": {
"organization_uuid": "value"
}
}