Creates a new assistant in the Edmo platform and persists a copy to the local database.
Typical flow:
- Your app sends a configuration payload.
- Edmo provisions the assistant with the underlying AI/voice providers.
- Edmo stores the assistant locally for display and future management.
Authentication is handled via an auth-token HTTP-only cookie set by the
/auth/login endpoint.
- In a browser, you typically call
/auth/loginonce and the cookie will be stored and automatically sent on subsequent API requests. - In API tools (Postman, curl, etc.) you can manually capture the cookie
from the
Set-Cookieheader or configure cookie handling.
This spec models the cookie using apiKey-style auth for documentation
purposes.
Payload used to create a new assistant.
Assistant display name.
Configuration for the underlying language model (OpenAI / Anthropic).
For non-technical readers, you can think of this as picking which "brain" the agent uses and how creative it should be.
Model name from the chosen provider.
Controls creativity. Lower values are more deterministic, higher values more creative and varied.
Maximum number of tokens the model can generate for a response.
Voice configuration for spoken responses when used in calls.
Voice provider identifier.
Voice identifier within the chosen provider.
Speech-to-text configuration used to transcribe calls.
Optional model identifier, depending on the provider.
Assistant created successfully.
A voice/chat agent configuration that defines how the assistant behaves and which model, voice and tools it uses.
Assistant identifier.
Owning organization identifier.
Human-friendly assistant name shown in the dashboard.
First message sent by the assistant when a call/chat starts.
Configuration for the underlying language model (OpenAI / Anthropic).
For non-technical readers, you can think of this as picking which "brain" the agent uses and how creative it should be.
Model name from the chosen provider.
Controls creativity. Lower values are more deterministic, higher values more creative and varied.
Maximum number of tokens the model can generate for a response.
Voice configuration for spoken responses when used in calls.
Voice provider identifier.
Voice identifier within the chosen provider.
Speech-to-text configuration used to transcribe calls.
Optional model identifier, depending on the provider.
Not authenticated or lacking permission to create agents.
Standard error response envelope.
Human-readable error message.
Creation failed due to configuration or provider issues.
Standard error response envelope.
Human-readable error message.