Create Agent
POST/v1/agents
Create a new AI agent with custom settings and permissions.
Agents can be configured with:
- Custom instructions: Define the agent's behavior and expertise
- LLM model selection: Choose the appropriate model for the task
- Creativity level: Control response determinism (
deterministic,creative,factual,balance) - Collection access: Grant access to all collections or specific ones
The created agent can be used in conversations to interact with users and process documents from assigned collections.
Request
Responses
- 201
- 401
- 403
- 404
- 422
- 500
Agent created successfully
Authentication failed - Invalid or missing credentials
Permission denied - Insufficient privileges
Resource not found
Validation error - Invalid request data
Internal server error