Agents
Create Agent
Create a reusable agent configuration with model, instructions, and optional table binding.
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.Human-readable name for the agent.
Model to use for completions. Defaults to
"default".System instructions for the agent. Guides how the agent processes documents and uses tools.
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.JSON Schema for structured output. When set, completions will conform to this schema.