data.network.account.query ​
List NetworkAccounts (uuid-only; internal ids and risk fields stripped)
List NetworkAccounts for an organization.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-network |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | UUID of the organization |
backend_type | string | No | — | Filter by NetworkBackendType value |
region | string | No | — | Filter by region |
status | string | No | — | Filter by cached_sync_status |
cloud_connection_uuid | uuid | No | — | Filter by backing CloudConnection UUID |
name_contains | string | No | — | Case-insensitive substring filter on name |
include_deleted | boolean | No | — | Include soft-deleted rows (default False) |
limit | integer | No | — | Max rows to return; default 100, capped at 500 |
offset | integer | No | — | Pagination offset |
actor | string | No | — | Caller initiating the query |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID echoed from input |
accounts | list | Yes | — | List of account dicts (uuid-keyed; internal ids stripped) |
count | integer | Yes | — | Number of rows returned |
limit | integer | Yes | — | Limit applied to the query |
offset | integer | Yes | — | Offset applied to the query |
failure_reason | string | No | — | Engine-stamped human-readable failure reason |
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 | — | complete | Query accounts |
completed | No | Yes | Yes | — | Queried |
failed | No | Yes | No | — | Query failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
pending | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
queried | SUCCESS | List NetworkAccounts (uuid-only; internal ids and risk fields stripped) | — |
failed | FAILURE | Network workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.network.account.query",
"initial_data": {
"organization_uuid": "value"
}
}