Import Agent
POST/v1/agents/import
Import agent from a JSON file.
Creates a new agent in draft state with the configuration from the file. The agent name will be appended with '(imported)' if a duplicate exists.
Excluded fields that need manual configuration after import:
- API keys (llm_api_key, stt_api_key)
- Base URLs (llm_base_url, stt_base_url, tts_base_url)
- MCP configuration
- Transfer to human settings (SIP URI, phone numbers)
- Knowledge base IDs
Request
Responses
- 200
- 422
Successful Response
Validation Error