data.storage.list-objects
List StorageObject audit rows for an organization, paginated, with optional filters. Pure DB read — never calls the cloud.
List StorageObject audit rows for an organization, paginated, with optional filters.
Pure DB read — never calls the cloud.
Overview
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-storage |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | UUID of the organization whose objects to list |
storage_connection_uuid | string | No | — | Optional: filter by this CloudConnection UUID |
kind | string | No | — | Optional: filter by object kind |
prefix | string | No | — | Optional: filter by key prefix |
limit | integer | No | — | Max rows to return; default 50, capped at 200 |
offset | integer | No | — | Pagination offset; default 0 |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | UUID of the organization whose objects to list |
storage_connection_uuid | string | No | — | Optional: filter by this CloudConnection UUID |
kind | string | No | — | Optional: filter by object kind |
prefix | string | No | — | Optional: filter by key prefix |
limit | integer | No | — | Max rows to return; default 50, capped at 200 |
offset | integer | No | — | Pagination offset; default 0 |
objects | json | No | — | List of StorageObject dicts (UUID-only surface) |
total | integer | No | — | Total matching rows (before pagination) |
failure_reason | string | No | — | Engine-stamped human-readable failure reason |
failed_at | string | No | — | ISO timestamp when the workflow failed |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | integer | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
States
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | Querying StorageObject rows |
completed | No | Yes | Yes | — | Objects listed |
failed | No | Yes | No | — | Query failed |
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": "data.storage.list-objects",
"initial_data": {
"organization_uuid": "value"
}
}