registry.module.query ​
Read an app's module registry (single module or list)
Read app module registry (GOV-9).
Inputs: actor, organization_uuid, identity_app_uuid (required); slug optional.
- With slug: returns found + the single module descriptor.
- Without slug: returns items [{slug, feature_flag, plan_gate, capabilities, audit_events, version}] + total. Read-only.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-policy |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
actor | string | Yes | — | — |
organization_uuid | uuid | Yes | — | — |
identity_app_uuid | uuid | Yes | — | — |
slug | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
found | boolean | No | — | — |
module | dict | No | — | — |
items | list | No | — | — |
total | integer | No | — | — |
identity_app_uuid | uuid | No | — | — |
slug | string | No | — | — |
title | string | No | — | — |
feature_flag | string | No | — | — |
plan_gate | string | No | — | — |
capabilities | list | No | — | — |
audit_events | list | No | — | — |
descriptor | dict | No | — | — |
plan_hash | string | No | — | — |
version | integer | No | — | — |
status | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_layer | string | No | — | — |
failed_step | string | No | — | — |
error | string | No | — | — |
error_type | 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": "registry.module.query",
"initial_data": {
"actor": "value",
"organization_uuid": "value",
"identity_app_uuid": "value"
}
}