Workers
Update a worker template
Update a worker's instructions, title, summary, visibility, or output schema. Only the fields you send are changed; omitted fields keep their current values. Only the worker creator can update a worker.
patch/api/workers/{workerId}
Path parameters
workerIdstring required
Example:t_org_123_w_01HZY2ZJQ8G7K42W2D7WF6V4GM
Worker id returned by the create worker endpoint.
Request body
Example request
{
"title": "Brand voice analyzer",
"instructions": "You are a brand voice analyzer. Read the input text and report whether it matches Acme's playful, plain-spoken house style. Quote specific phrases.",
"summary": "Audits copy against the Acme brand voice guide.",
"visibility": "private",
"outputSchema": {
"type": "object",
"required": [
"verdict",
"summary"
],
"properties": {
"verdict": {
"type": "string",
"enum": [
"supported",
"debunked",
"mixed",
"unknown"
]
},
"summary": {
"type": "string"
},
"citations": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}Response
Updated worker template.
Example response
{
"url": "https://v3.handinger.com/worker/wrk_vk81XUHKHG-qr4"
}