Skip to main content
POST
Create assistant
Creates an assistant in the workspace your API key belongs to, provisions the native tools its configuration enables, and returns the finished object.

Body

string
required
Display name, 1–255 characters. Trimmed before it is stored.
string
default:"Single Prompt"
Prompt style.
object
The configuration document — see the assistant object. Every key you leave out is filled in, so {} produces a working assistant.
Unknown fields are ignored rather than rejected, so you can send an assistant object straight back.

Request

Response

201 Created with the complete assistant, including the defaults that were filled in and the toolIds that were provisioned for it.
A new assistant gets end_call switched on unless you send nativeTools.end_call.enabled: false. Without it, an assistant stays on the line — billing — after the caller has said goodbye.

Errors

Nothing is created when a request fails — if the tools cannot be provisioned, the assistant is removed again rather than left half-built.