AgentKey used to authenticate sessions. The full API key is included in this response — it is never retrievable again after creation, so store it immediately in a secrets manager or environment variable.
Only users with Admin privilege (privilege=1) on the project can create agents.
Endpoint
http://localhost:8000
Request headers
string
required
JWT obtained from the OTAS login endpoint, identifying the calling user.
string
required
UUID of the project in which the agent will be created.
Request body
string
required
Display name for the agent. Whitespace is trimmed before storage.
string
Optional human-readable description of what the agent does.
string
required
LLM provider for this agent, e.g.
"Anthropic" or "OpenAI".Response
number
1 on success.string
"agent_created" on success.object
Example
cURL
Response (201)