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

List Templates Api V1 Workstreams Templates Get

get/api/v1/workstreams/templates

List workflow templates

Lists the workflow templates the caller can see in their workspace, filtered by category, search text, status and scope, and returns one page of templates with run counts and pagination. Templates are reusable workflow definitions that can be customized into blueprints for specific clients. **Query Parameters:** - `category`: Filter by template category - `status`: Filter by template status (default: active) - `limit`: Results per page (1-500, default: 20) - `offset`: Pagination offset (default: 0) **Authentication Required:** JWT Bearer token

Query parameters

category
query
Filter by category
search
query
Search by name or description
runnable_only
query
Only include templates with at least one active linked blueprint
launchable_only
query
Only include LAUNCHABLE recipes β€” workstreams with a step DAG (non-empty `steps`) or an agentic `goal_spec`. Excludes agentic CONTAINERS (the per-job and ad-hoc workstreams, which have neither and are run via /jobs/{id}/run, not @-mention). Note: `is_template` is NOT the launchability signal β€” the FIC catalogue and firm recipes ship `is_template=false` but are launchable.
is_template
query
Optional filter on the `is_template` column. Default: include BOTH template and non-template workstreams. Pass `true` to restrict to flagged templates (legacy behaviour); pass `false` to restrict to non-template workstreams.
status
query
Filter by status
draftactivepausedarchived
include_all_statuses
query
Return EVERY status instead of just `?status=`. For a surface that does its own status filtering client-side β€” the 'My WorkStreams' list, whose Live/Drafts/Archived chips filter and COUNT over one fetched set. Default False so the @-mention picker keeps seeing only active rows.
include_all_workspaces
query
god-mode ONLY: include workstreams from ALL workspaces (the WSS Trace/Studio cross-workspace view). Default False so the @-mention launcher picker stays scoped to the caller's workspace β€” it must never surface templates the caller can't launch here.
include_internal
query
Include engineering/test 'plumbing' rows in the result. Default False β€” the recipe LIBRARY hides the internal bucket (FIC:/Demo:/Read PDF rows + the 'internal' catch-all category) so the customer-facing grid shows only curated catalog + real recipes. Pass True for the @-mention picker / eng tooling that needs them.
run_once_only
query
Only the WorkStreams Run once can run and a firm wants offered: the caller's workspace only (never the catalogue, also for god mode), steps, inline, active or draft, without plumbing or test rows. Replaces the single-status and internal-hiding filters for this call. The @ menu sends it after `/run`.
scope
query
Filter by distribution scope β€” the customer 'My WorkStreams' view is grouped firm -> team -> user (#170). When set, the firm-scoped FIC workstreams become visible (the default grid's FIC name-hide is skipped for an explicit scope view); eng plumbing stays hidden. Omit for the default catalog grid. `gallery`/`plan` scopes are not filter options (gallery is parked).
limit
query
Results per page, from 1 to 500; defaults to 20.
offset
query
Pagination offset

Responses

200Templates retrieved successfully
FieldTypeDescription
itemsTemplateResponse[]β€”
item shape
paginationrequiredPaginationPagination information
show nested
unreadableUnreadableTemplate[]Matching workstreams whose stored data could not be read. They are left out of items but still counted in pagination.total.
item shape
401Unauthorized - invalid or missing JWT token
422Validation Error
FieldTypeDescription
detailValidationError[]β€”
item shape
curl https://api.dev.arch.ie/api/v1/workstreams/templates \
  -H "Authorization: Bearer sk_..."
API Reference Β· Archie for developers