identity.membership.get ​
Fetch a single membership by UUID, tenant-verified
Get a single membership by UUID, tenant-verified via organization_uuid.
Inputs:
- membership_uuid: Membership UUID (required)
- organization_uuid: Organization ID for tenant verification (required)
Outputs (terminal state_data):
- membership: dict | None
- found: bool
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
membership_uuid | uuid | Yes | — | Membership UUID |
organization_uuid | uuid | Yes | — | Organization UUID for tenant verification |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
membership | json | No | — | — |
found | boolean | Yes | — | — |
membership_uuid | string | No | — | — |
organization_uuid | uuid | 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": "identity.membership.get",
"initial_data": {
"membership_uuid": "value",
"organization_uuid": "value"
}
}