Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The path where the agent will be stored in the project structure
"Default"
Unique identifier for the agent within the workspace
The role or function of the agent
A brief description of what the agent does
Detailed instructions that guide the agent's behavior
The primary language model that powers the agent (e.g., "anthropic/claude-3-sonnet-20240229")
Configuration settings for the agent's behavior
A custom system prompt template for the agent. If omitted, the default template is used.
1Optional array of fallback model IDs to use when the primary model fails. Models are tried in order. All models must support tool calling capabilities.
Optional array of memory store keys for the agent to access
Optional array of knowledge base configurations for the agent to access
The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
Response
Agent created successfully
1The status of the agent. Live is the latest version of the agent. Draft is a version that is not yet published. Pending is a version that is pending approval. Published is a version that was live and has been replaced by a new version.
live, draft, pending, published Entity storage path in the format: project/folder/subfolder/...
The first element identifies the project, followed by nested folders (auto-created as needed).
With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
"Default"
The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
1Extracted variables from agent instructions
Agent knowledge bases reference
List of hidden collapsed panels in configuration. Duplicates are not allowed.