kv.store.list ​
Enumerate an Orkestia KV store scope (metadata only)
Enumerate the keys in an Orkestia KV store scope (metadata only).
Inputs:
- connection_uuid: Bound provider CloudConnection (required)
- app: App slug (required)
- environment: Environment scope (required)
- namespace: Namespace (optional, defaults to app)
Outputs:
- keys: [{key, tier, version_id, updated_at}] — metadata only, no values
- count: number of keys
read_only.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-kv |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | Bound provider CloudConnection. |
app | string | Yes | — | — |
environment | string | Yes | — | — |
namespace | string | No | — | Namespace (defaults to app). |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
app | string | No | — | — |
environment | string | No | — | — |
namespace | string | No | — | — |
provider | string | No | — | — |
keys | json | No | — | [{key, tier, version_id, updated_at}] — metadata only. |
count | integer | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "kv.store.list",
"initial_data": {
"connection_uuid": "value",
"app": "value",
"environment": "value"
}
}