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

Invoke Skill Workstream Update

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

Update a workstream's metadata β€” rename (name) or change its description. Only provided fields change. Operates on the workstream definition; in-flight cycles run off a snapshot and are not affected.

Renames a workstream or changes its description, so an accountant can keep a shared process tidy without rebuilding it. It needs the workstream_id plus whichever of the name, description, steps or schemas you want to change, and only the fields you send are updated. It returns the workstream's identifier, permakey, name and status. Cycles already running are not affected.

Request bodyapplication/json

FieldTypeDescription
workstream_idrequiredstringWorkstream UUID, slug, or 7-char permakey
namestring | nullNew name (rename / retitle)
descriptionstring | nullNew description
stepsobject[] | nullUpdated step definitions, in the form the WorkStream builder saves (the steps workstream_describe returns): id, name, type, depends_on, expected_outputs, and for a tool_call step tool_name and tool_params. A step the builder would refuse is refused, naming it (steps[i]).
input_schemaobject[] | nullUpdated input schema declarations (array of InputDef: name, type, required, description).
output_schemaobject[] | nullDeclared outputs

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
workstream_idstringThe workstream's permakey (the public id).
permakeystring7-char public workstream id.
namestringβ€”
statusstringβ€”
errorstring | nullmissing_workspace | not_found on failure, else null
publishedboolean | nullfalse on a managed save: saved, not yet published; else null
unpublished_savesinteger | nullCommits on the working branch main does not hold; null when not read or unmanaged
latest_versioninteger | nullThe WorkStream's own version (a save never changes it); null if unmanaged
headstring | nullThe head after a managed save; else null
save_messagestring | null'Saved. Not published: N change(s) since version V.'; else null
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.update/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "workstream_id": "string",
       "name": null,
       "description": null,
       "steps": null,
       "input_schema": null,
       "output_schema": null
     }'