Auth
Post v1authsession token
POST
/
v1
/
auth
/
session-token
curl --request POST \
--url https://api.anam.ai/v1/auth/session-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"expiresIn": "1h",
"clientLabel": "<string>",
"personaConfig": {
"name": "Test Assistant",
"personaPreset": "eva",
"brainType": "ANAM_GPT_4O_MINI_V1",
"personality": "You are a helpful and friendly AI assistant.",
"systemPrompt": "You are an AI assistant focused on helping with technical questions.",
"fillerPhrases": [
"Let me think about that..."
],
"maxSessionLengthSeconds": 180
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Was this page helpful?
curl --request POST \
--url https://api.anam.ai/v1/auth/session-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"expiresIn": "1h",
"clientLabel": "<string>",
"personaConfig": {
"name": "Test Assistant",
"personaPreset": "eva",
"brainType": "ANAM_GPT_4O_MINI_V1",
"personality": "You are a helpful and friendly AI assistant.",
"systemPrompt": "You are an AI assistant focused on helping with technical questions.",
"fillerPhrases": [
"Let me think about that..."
],
"maxSessionLengthSeconds": 180
}
}'
Assistant
Responses are generated using AI and may contain mistakes.