identity.app.query ​
List an organization's identity apps (or one app's detail)
List an organization's identity apps, or one app's detail.
Inputs:
- actor: Cognito sub or user UUID
- organization_uuid: owning organization (required)
- identity_app_uuid: narrow to a single app's detail (optional)
Outputs (terminal state_data):
- items: list of UUID-keyed dicts (app_uuid, name, status, mode, project_uuid, exposed_virtual_count [, exposed_virtual_workflows, dev_allowed_emails, allowed_email_domains, client_uuid, client_id, redirect_uris, token_ttls, policy, branding])
- total: number of apps returned
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
actor | string | Yes | — | — |
organization_uuid | uuid | Yes | — | — |
identity_app_uuid | uuid | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | list | Yes | — | — |
total | integer | Yes | — | — |
actor | string | No | — | — |
identity_app_uuid | uuid | No | — | — |
found | boolean | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
reason | 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": "identity.app.query",
"initial_data": {
"actor": "value",
"organization_uuid": "value"
}
}