spad.drift-plan.get ​
Fetch a single SpadDriftPlan by uuid
Fetch a single SpadDriftPlan by uuid.
Inputs:
- organization_id: Organization ID (required)
- plan_uuid: Plan UUID (required)
Outputs (terminal state_data):
- plan: drift-plan public dict (UUID-only) or null when not found
- error: str | None (only on failure)
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-spad |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
plan_uuid | uuid | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
plan | dict | No | — | — |
error | string | No | — | — |
error_type | string | No | — | Error-as-field envelope populated when query() raises. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "spad.drift-plan.get",
"initial_data": {
"organization_uuid": "value",
"plan_uuid": "value"
}
}