Skip to main content
POST
Create a tenant-owned template. Returns 422 if the name collides with a platform built-in, 409 if a template with the same name already exists for the tenant.

Request body

CreateTemplateRequest
string
required
Template identifier — passed as agent_type on /trigger. Alphanumeric + underscore + dash; must not collide with a platform built-in name.
string
required
Human-readable purpose; surfaces in GET /templates.
object
Default params merged into every trigger that targets this template. The tenant’s request payload overrides on key collision.

Response

TemplateInfo
string
required
The exact string to pass as agent_type on /trigger.
string
required
builtin ships with the platform; tenant is owned by your org.
string,null
Human-readable description (tenant templates only).

Status codes