Invoke Skill Workstream Update
post
/api/v1/skills/workstream.update/invokeUpdate 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
| Field | Type | Description |
|---|---|---|
workstream_idrequired | string | Workstream UUID, slug, or 7-char permakey |
name | string | null | New name (rename / retitle) |
description | string | null | New description |
steps | object[] | null | Updated 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_schema | object[] | null | Updated input schema declarations (array of InputDef: name, type, required, description). |
output_schema | object[] | null | Declared outputs |
Responses
200Skill executed successfully
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | |||||||||||||||||||||||||||||||||||||||
outputrequired | object | β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.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
}'