Create an assistant over your knowledge
Create an assistant in your own organisation, pointed at the collections it answers from. The server assigns the id, and a new assistant starts out active.
POST
The assistant is created in the organization your credential belongs to. You cannot name another organization, and you cannot choose the assistant’s
id: the server assigns it. A new assistant always starts with status set to active.
Every knowledge base you list must exist in your organization, or the request fails with 400. Assistant names are unique within an organization; a name that is already taken returns 409.
An assistant can answer questions only when it is active and has at least one knowledge base. The answerable field in the response tells you whether that is true. See Configure an assistant.
Creating an assistant requires the owner, admin or editor role. See Organizations and roles.
string
required
Display name. Leading and trailing whitespace is trimmed; the result must be 1 to 120 characters
on a single line, with no control, invisible formatting or line-separator characters.
string[]
default:"[]"
IDs (UUIDs) of the knowledge bases this assistant answers from. At most 20 after duplicates are
removed; order is kept. An assistant with none is created but is not
answerable.string
default:"anthropic/claude-sonnet-5"
Model selector, either
provider/model or a bare model name. The provider must be one the
platform supports, and a bare model name must match exactly one model in the platform’s catalogue,
or the request fails with 400. GET /models lists what your deployment offers.string
Guidance added to the assistant’s answer policy. Before it is stored, control and invisible
formatting characters are removed, runs of blank lines are collapsed, and surrounding whitespace
is trimmed. Text longer than 8,000 characters is not refused: it is cut and ends with
[…truncated]. An empty or whitespace-only value is stored as null.string
default:"\"\""
Description for administrators, up to 500 characters on a single line. It is never sent to the
model.
Response
Returns201 Created with the full assistant.
string
required
The assistant’s ID (UUID).
string
required
Display name.
string
required
Description. Empty string when none was set.
string
required
Lifecycle status:
active, disabled or archived. Always active on creation.string
required
The model selector.
string[]
required
Knowledge bases the assistant answers from, in the order you gave.
string | null
required
The stored instruction, or
null when there is none.boolean
required
true when the assistant is active and has at least one knowledge base.integer
required
Concurrency revision. Starts at
1. Send it back on PATCH /assistants/{assistant_id}.string | null
required
When the assistant was created, ISO 8601 in UTC.
string | null
required
When the assistant was last changed, ISO 8601 in UTC.
Last modified on September 26, 2026