Skip to main content
POST
Preferred over create + configure + add_rule + add_function. Pass template_id to seed a proven ruleset.

Headers

string
Optional client-generated key that makes the POST safe to retry: a repeat with the same key and body replays the original response instead of creating a duplicate.

Request body

ProvisionAgent
string
required
Minimum length: 1. Maximum length: 200.
string
Seeds rules/attributes/examples from a starter template. Maximum length: 100.
string
One of: assistant, customer_service, sales. Minimum length: 1. Maximum length: 100.
string
Maximum length: 5000.
string
The system prompt / persona. Maximum length: 50000.
string
Maximum length: 2000.
string
Maximum length: 2000.
boolean
object[]
Maximum items: 50.
object[]
Maximum items: 50.
object
Model config. Defaults to the template’s when a template is used.

Response

Agent
string
Fixed value: 'agent'.
string
string,null
string,null
string,null
boolean
string,null
string,null
string,null
string,null
Present on single-agent reads and writes only.
AgentSettingsOut

Status codes

Access

Using this contract

Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.
Last modified on September 21, 2026