TheDocumentation Index
Fetch the complete documentation index at: https://docs.miraiminds.co/llms.txt
Use this file to discover all available pages before exploring further.
Create Assistant endpoint allows you to programmatically create a new voice assistant. You can configure its personality, voice, tools, and other settings.
Endpoint
POST /admin/assistant
Request Flow
Request Parameters
Headers
| Header | Type | Required | Description |
|---|---|---|---|
workspace | string | Yes | Your unique workspace ID. |
organization | string | Yes | Your organization ID. |
Authorization | string | Yes | Bearer token for authentication. |
Content-Type | string | Yes | Must be application/json. |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the assistant. |
config | object | Yes | Configuration object for the assistant. |
Config Object
| Parameter | Type | Required | Description |
|---|---|---|---|
system_prompt | string | Yes | The persona and instructions for the assistant. |
end_message | string | No | Message to speak when ending the call. |
tool_config | array | No | List of tools enabled for the assistant. |
model | object | Yes | LLM configuration (provider, model). |
transcriber | object | Yes | Transcriber configuration (provider, model). |
voice | object | Yes | Voice configuration (provider, voiceId, model). |
structured_data | array | No | Schema for structured data extraction. |