latestOpenAPI 3.1.02026-08-223321,1001.6 MB

2134ebffd1ef

worker-templates

Update Template

patch/worker-templates/{template_id}

Path parameters

template_idstring required

Request body

namestring nullable

Omit (null) to leave unchanged.

mode'incident' | 'alerts'

The kind of channel the agent lives in — its standing mission.

Drives the swappable mode block in the system prompt (and, later, the toolset). incident and alerts have mode blocks today; escalation and others land as localized drop-ins (their standing block + tooling) when that work begins.

custom_instructionstring nullable

Omit (null) to leave unchanged, pass a string to overwrite, or pass an empty string to clear it.

add_trigger_rule_idsstring[]

Live rules to point at this template. Valid on its own.

remove_trigger_rule_idsstring[]

Rules to stop pointing at this template. Valid on its own.

Response

Successful Response

idstring required
organization_idstring required
namestring required
mode'incident' | 'alerts' required

The kind of channel the agent lives in — its standing mission.

Drives the swappable mode block in the system prompt (and, later, the toolset). incident and alerts have mode blocks today; escalation and others land as localized drop-ins (their standing block + tooling) when that work begins.

custom_instructionstring nullable required
created_atstring date-time required
updated_atstring date-time required