Skip to main content
POST

Overview

An agent defines how sessions behave — which model to use, what system instructions to follow, and optionally which table to write extracted data into.
string
required
Human-readable name for the agent.
string
Model to use for completions. Defaults to "default".
string
System instructions for the agent. Guides how the agent processes documents and uses tools.
string
Bind a typed table to this agent. Sessions created with this agent will have doc_sql and table_sql tools available for reading documents and writing to the table.
object
JSON Schema for structured output. When set, completions will conform to this schema.

Response (201)