PUT
/
v1
/
personas
/
{id}
cURL
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>"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Persona id

Body

application/json
name
string

Name of the persona

description
string | null

Description of the persona

avatarId
string

ID of the avatar to use

voiceId
string

ID of the voice to use

llmId
string

ID of the LLM to use

brainType
enum<string>

Type of LLM to use

Available options:
ANAM_GPT_4O_MINI_V1,
ANAM_LLAMA_v3_3_70B_V1,
CUSTOMER_CLIENT_V1
systemPrompt
string | null

System prompt for the LLM

Response

Successfully updated persona