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

Invoke Skill Workstream Status

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

Get the current status of a workstream run β€” overall lifecycle state plus current/next step pointers and progress percentage. For live progress streaming, use the events_url returned by workstream_run instead.

Request bodyapplication/json

FieldTypeDescription
cycle_idrequiredstring (uuid)The cycle id returned by workstream_run.

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectCurrent cycle state β€” overall + per-step. Emits both ``cycle_id`` (canonical) and ``run_id`` (deprecated alias, populated alongside ``cycle_id``) for backwards compat.
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
cycle_idstring (uuid) | nullThe cycle being inspected.
run_idstring (uuid) | nullβ€”
status"pending" | "running" | "paused" | "awaiting_approval" | "completed" | "cancelled" | "failed"Lifecycle state of the cycle.
pendingrunningpausedawaiting_approvalcompletedcancelledfailed
current_stepstringSlug of the currently-executing step (empty if not yet started).
next_stepstring | nullSlug of the next step the runtime will dispatch (None on terminal states).
progress_pctnumberApproximate completion percentage (0..100).
errorstring | nullβ€”
error_envelopeany | nullCanonical structured error. Populated when `status == 'failed'`.
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.status/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "cycle_id": "00000000-0000-0000-0000-000000000000"
     }'