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

Invoke Skill Workstream List

post/api/v1/skills/workstream.list/invoke

List 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

FieldTypeDescription
scope"plan" | "user" | "team" | "firm" | "gallery" | nullLimit to workstreams of this authoring scope.
status"draft" | "active" | "archived" | nullLimit to workstreams with this lifecycle status.
limitintegerMaximum rows per page (1..100). Defaults to 20.
cursorstring | nullOpaque 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
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectList of workstreams the caller can see, with cursor pagination.
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
itemsany[]Page of workstreams matching the input filters.
next_cursorstring | nullPass back as `cursor` on the next call to get the following page. `None` when there are no more pages.
totalinteger | nullTotal matching rows across all pages. `None` when the backend cannot count cheaply (very large datasets).
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
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
     }'