curl --request POST \
--url https://api.voice-agents.miraiminds.co/v1/admin/assistant/create \
--header 'Content-Type: application/json' \
--header 'workspace: <workspace>' \
--header 'x-private-key: <api-key>' \
--header 'x-public-key: <api-key>' \
--data '
{
"name": "My Abandoned Cart Assistant",
"variant": {
"type": "abandoned_cart"
},
"agent": {
"identity": {
"name": "neha",
"gender": "female",
"voice": "neha"
},
"systemPrompt": ""
}
}
'{
"message": "Assistant created successfully",
"data": {
"assistantId": "<string>"
}
}Creates a new AI assistant with the specified configuration. The variant determines the assistant’s behavior and the required variantConfigs structure.
curl --request POST \
--url https://api.voice-agents.miraiminds.co/v1/admin/assistant/create \
--header 'Content-Type: application/json' \
--header 'workspace: <workspace>' \
--header 'x-private-key: <api-key>' \
--header 'x-public-key: <api-key>' \
--data '
{
"name": "My Abandoned Cart Assistant",
"variant": {
"type": "abandoned_cart"
},
"agent": {
"identity": {
"name": "neha",
"gender": "female",
"voice": "neha"
},
"systemPrompt": ""
}
}
'{
"message": "Assistant created successfully",
"data": {
"assistantId": "<string>"
}
}40Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Combined knowledge base containing both documents and FAQ entries.
Show child attributes