List Templates Api V1 Workstreams Templates Get
get
/api/v1/workstreams/templatesList workflow templates
List all available workflow templates.
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-100, default: 20)
- `offset`: Pagination offset (default: 0)
**Authentication Required:** JWT Bearer token
Query parameters
categoryquery | Filter by category |
searchquery | Search by name or description |
runnable_onlyquery | Only include templates with at least one active linked blueprint |
launchable_onlyquery | 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_templatequery | 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. |
statusquery | Filter by statusdraftactivepausedarchived |
include_all_workspacesquery | 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_internalquery | 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. |
scopequery | 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). |
limitquery | Results per page |
offsetquery | Pagination offset |
Responses
200Templates retrieved successfully
| Field | Type | Description |
|---|---|---|
items | TemplateResponse[] | βitem shape |
paginationrequired | Pagination | Pagination informationshow nested |
401Unauthorized - invalid or missing JWT token
422Validation Error
| Field | Type | Description |
|---|---|---|
detail | ValidationError[] | βitem shape |
curl https://api.dev.arch.ie/api/v1/workstreams/templates \
-H "Authorization: Bearer sk_..."