Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

List Blueprints Api V1 Workstreams Workplans Get

get/api/v1/workstreams/workplans

List 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_id
query
Filter by template/workstream
client_id
query
Filter by client
status
query
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_id
query
Return only plans of this work stream: plans that have run in it or whose template lineage points at it. Job-backed plans only.
domain
query
Return only plans in this domain. Job-backed plans only.
active_only
query
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_only
query
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_type
query
Return only job-backed plans (job_definition) or only old-style blueprints (blueprint). Omit it to return both.
limit
query
Results per page
offset
query
Pagination offset

Responses

200Workplans retrieved successfully
FieldTypeDescription
itemsWorkplan[]—
item shape
paginationrequiredPaginationPagination information
show nested
401Unauthorized
422Validation Error
FieldTypeDescription
detailValidationError[]—
item shape
curl https://api.dev.arch.ie/api/v1/workstreams/workplans \
  -H "Authorization: Bearer sk_..."
API Reference · Archie for developers