Invoke Skill Workstream List
post
/api/v1/skills/workstream.list/invokeList workstreams visible to the caller. Filter by scope (plan / user / team / firm / gallery) and lifecycle status. Returns summary rows including execution_mode so callers can distinguish inline (Temporal-native, declarative) from container (Fly.io, agentic) workstreams.
Lists the workstreams you can see, so an accountant can find the right one to run or review. It needs no inputs, but you can narrow the list by authoring scope or lifecycle status and page through it with a cursor. It returns one summary row per workstream with its id, permakey, name, execution mode and status, plus a total count.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
scope | "plan" | "user" | "team" | "firm" | "gallery" | null | Limit to workstreams of this authoring scope. |
status | "draft" | "active" | "archived" | null | Limit to workstreams with this lifecycle status. |
limit | integer | Maximum rows per page (1..100). Defaults to 20. |
cursor | string | null | Opaque pagination cursor from a previous response's `next_cursor`. Omit on the first call. The server treats the cursor as opaque β do not parse or construct it. |
Responses
200Skill executed successfully
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | ||||||||||||||||||
outputrequired | object | List of workstreams the caller can see, with cursor pagination.show nested
| ||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
curl https://api.dev.arch.ie/api/v1/skills/workstream.list/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"scope": null,
"status": null,
"limit": 0,
"cursor": null
}'