Skip to main content
PUT
/
v2
/
assistant
/
update
/
{assistantId}
Update AI Assistant
curl --request PUT \
  --url https://api.voice-agents.miraiminds.co/v2/assistant/update/{assistantId} \
  --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"
}
'
{
  "assistantId": "<string>",
  "status": "in-process"
}

Documentation Index

Fetch the complete documentation index at: https://docs.miraiminds.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-public-key
string
header
required
x-private-key
string
header
required

Headers

x-public-key
string
required
x-private-key
string
required
workspace
string
required

Path Parameters

assistantId
string
required

Body

application/json

Update assistant fields. All fields are optional — only provided fields are updated. Variant cannot be changed.

name
string
agentIdentity
object
analysisPlan
object
icpContext
object
callSettings
object
variantConfigs
object

Variant-specific configuration. For custom variant, systemPrompt is required. For abandoned_cart, systemPrompt is optional (overrides the generated one). variables defines the fields expected in the call payload.

trainingData
object
knowledgeBase
object

Response

Assistant Update Started

assistantId
string
status
string
Example:

"in-process"