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

Invoke Skill Workstream Describe

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

Describe a workstream by id, slug, or permakey. Returns the full definition: metadata, execution_mode, declared inputs, and step count. The adapter resolves the literal across both inline and containerized execution modes.

Shows the full definition of one workstream, so an accountant can check what it does before running it. It needs the workstream_id, which can be a UUID, a slug or the seven-character permakey. It returns the name, status and execution mode, the inputs a run needs and the number of steps.

Request bodyapplication/json

FieldTypeDescription
workstream_idrequiredstringUUID, slug, or 7-char permakey. The adapter resolves it.

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectFull definition of a workstream β€” metadata + step graph.
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
workstream_idstring (uuid) | nullStable internal id.
permakeystring7-char human-friendly id.
namestringDisplay name.
descriptionstring | nullOne-paragraph overview.
execution_mode"inline" | "containerized"`inline` (Temporal declarative) or `containerized` (Fly.io agentic).
inlinecontainerized
status"draft" | "active" | "archived"Lifecycle state.
draftactivearchived
step_countintegerNumber of declared steps in the workstream graph.
inputs_requiredobject[]Declaration of every input the caller can or must supply via `runtime_vars` when starting a cycle. Each entry follows the `WorkstreamInputSpec` shape (name, type, required, description, default) but is wire-typed as a JSON object for backward compatibility with stored authoring metadata. Empty for client-agnostic workstreams that take no runtime inputs.
item shape
Empty object.
errorstring | nullβ€”
error_envelopeany | nullCanonical structured error. Set when describe failed (e.g. workstream not found, FGA denied). The legacy `error` string field is populated alongside it for back-compat.
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.describe/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "workstream_id": "string"
     }'