List Personas
GEThttps://api.confident-ai.com/v2/personas
Lists the personas in your Confident AI project one page at a time, newest first. Each persona is returned with just its id and name — enough to pick one for a multi-turn golden; retrieve it by id to read the characteristics the simulator plays it with.
curl -X GET "https://api.confident-ai.com/v2/personas" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"personas": [
{
"id": "<PERSONA-ID>",
"name": "Frustrated support caller"
}
],
"totalPersonas": 4,
"page": 1,
"pageSize": 25
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/personas",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
pageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of results per page, at most 100. Defaults to 25.
Response
List Personas succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of personas, with the total across all pages.
Show 4 propertiesHide 4 properties
personaslist of objectsThe personas for the current page, newest first.
Show 2 propertiesHide 2 properties
idstringThe id of the persona, generated by Confident AI.
namestringThe name of the persona.
totalPersonasintegerThe total number of personas in this project.
pageintegerThe page this response covers.
pageSizeintegerThe number of personas per page.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.