latestOpenAPI 3.1.02026-08-223321,1001.6 MB

2134ebffd1ef

worker-templates

Create Template

post/worker-templates

Request body

namestring required

Operator-facing label, unique per organization among live templates.

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

Standing instruction seeded onto workers deployed from this template.

trigger_rule_idsstring[]

Live CHANNEL_JOIN rules to point at the new template. Every id is verified to exist in your organization before the template is created.

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