Auth
Session Token
Get a session token for authenticating the Anam SDK
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Available options:
1h
, 12h
, 1d
, 2d
, 3d
, 1w
, 2w
Persona configuration for the session
Example:
{
"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
}
Was this page helpful?