List Blueprints Api V1 Workstreams Workplans Get
get
/api/v1/workstreams/workplansList workplans
Lists the workplans in the workspace, optionally filtered by client, and
returns each with its status and schedule.
A workplan is a client-specific workflow configuration derived from a
template (a Workstream bound to a client + jurisdiction).
**Query Parameters:**
- `template_id`: Filter by template/workstream UUID
- `client_id`: Filter by client UUID
- `status`: Filter by status (default: active). Can be repeated to return
several statuses at once (draft, active, paused, archived); `all` is not accepted
- `workplan_type`: Only job-backed plans (`job_definition`) or only old-style
blueprints (`blueprint`); omit it for both
- `workstream_id`: Only plans of this work stream (job-backed plans only)
- `domain`: Only plans in this domain (job-backed plans only)
- `active_only`: Only plans with a cycle in flight (job-backed plans only)
- `standing_only`: Leave out per-run batch fan-out plans (job-backed plans only)
- `limit`: Results per page (1-100, default: 20)
- `offset`: Pagination offset (default: 0)
**Authentication Required:** JWT Bearer token
Query parameters
template_idquery | Filter by template/workstream |
client_idquery | Filter by client |
statusquery | Return only plans with this status (draft, active, paused or archived). Defaults to active. The parameter can be repeated to return plans with any of several statuses. |
workstream_idquery | Return only plans of this work stream: plans that have run in it or whose template lineage points at it. Job-backed plans only. |
domainquery | Return only plans in this domain. Job-backed plans only. |
active_onlyquery | Return only job_definitions with at least one cycle currently in flight (see ACTIVE_CYCLE_STATUSES). For live-worklist surfaces that show running work: without it the caller has to page the whole catalogue and filter client-side, and any limit then caps the wrong axis — newest jobs rather than active ones. |
standing_onlyquery | Exclude per-run batch-fan-out groupings (the job_definitions a WorkPlan batch run auto-creates, marked by goal_template 'Batch fan-out …'). True returns only STANDING WorkPlans/jobs — the feed for the dedicated 'my WorkPlans' surface. Default False keeps them. |
workplan_typequery | Return only job-backed plans (job_definition) or only old-style blueprints (blueprint). Omit it to return both. |
limitquery | Results per page |
offsetquery | Pagination offset |
Responses
200Workplans retrieved successfully
| Field | Type | Description |
|---|---|---|
items | Workplan[] | —item shape |
paginationrequired | Pagination | Pagination informationshow nested |
401Unauthorized
422Validation Error
| Field | Type | Description |
|---|---|---|
detail | ValidationError[] | —item shape |
curl https://api.dev.arch.ie/api/v1/workstreams/workplans \
-H "Authorization: Bearer sk_..."