curl --request PUT \
--url https://api.anam.ai/v1/personas/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"avatarId": "<string>",
"voiceId": "<string>",
"llmId": "<string>",
"brainType": "ANAM_GPT_4O_MINI_V1",
"systemPrompt": "<string>"
}
'Update a persona by id
curl --request PUT \
--url https://api.anam.ai/v1/personas/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"avatarId": "<string>",
"voiceId": "<string>",
"llmId": "<string>",
"brainType": "ANAM_GPT_4O_MINI_V1",
"systemPrompt": "<string>"
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Persona id
Name of the persona
Description of the persona
ID of the avatar to use
ID of the voice to use
ID of the LLM to use
Type of LLM to use
ANAM_GPT_4O_MINI_V1, ANAM_LLAMA_v3_3_70B_V1, CUSTOMER_CLIENT_V1 System prompt for the LLM
Successfully updated persona
Was this page helpful?