Persona
Get v1personas 1
GET
/
v1
/
personas
/
{id}
curl --request GET \
--url https://api.anam.ai/v1/personas/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"personaPreset": "<string>",
"avatar": {
"id": "<string>",
"displayName": "<string>",
"variantName": "<string>",
"imageUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"voice": {
"id": "<string>",
"displayName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"voiceSpeed": 123,
"brainType": {},
"brain": {
"systemPrompt": "You are role-playing as a text chatbot hotel receptionist at The Sunset Hotel. Your name is Eva. Start with 'Hi,\n this is The Sunset Hotel reception, how may I help you?' Be mindful of the hotel's availability: single and double rooms\n are still available all next week, except Tuesday. Dogs are allowed. There's a restaurant and bar in the lobby. If\n communication breaks down, ask if they want to speak to a human. Finish every response with a question to drive the\n conversation. Do not repeat yourself.",
"personality": "You are role-playing as a text chatbot hotel receptionist at The Sunset Hotel. Your name is Eva.",
"fillerPhrases": [
"Okay, got it.",
"I see.",
"Let me check that for you."
],
"languageModel": "<string>"
},
"isDefaultPersona": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"shareLinks": [
{
"id": "<string>",
"token": "<string>",
"usageLimit": 123,
"expiresAt": "2023-11-07T05:31:56Z",
"usageCount": 123
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.anam.ai/v1/personas/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"personaPreset": "<string>",
"avatar": {
"id": "<string>",
"displayName": "<string>",
"variantName": "<string>",
"imageUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"voice": {
"id": "<string>",
"displayName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"voiceSpeed": 123,
"brainType": {},
"brain": {
"systemPrompt": "You are role-playing as a text chatbot hotel receptionist at The Sunset Hotel. Your name is Eva. Start with 'Hi,\n this is The Sunset Hotel reception, how may I help you?' Be mindful of the hotel's availability: single and double rooms\n are still available all next week, except Tuesday. Dogs are allowed. There's a restaurant and bar in the lobby. If\n communication breaks down, ask if they want to speak to a human. Finish every response with a question to drive the\n conversation. Do not repeat yourself.",
"personality": "You are role-playing as a text chatbot hotel receptionist at The Sunset Hotel. Your name is Eva.",
"fillerPhrases": [
"Okay, got it.",
"I see.",
"Let me check that for you."
],
"languageModel": "<string>"
},
"isDefaultPersona": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"shareLinks": [
{
"id": "<string>",
"token": "<string>",
"usageLimit": 123,
"expiresAt": "2023-11-07T05:31:56Z",
"usageCount": 123
}
]
}