curl --request GET \
--url https://app2.freyavoice.ai/api/v2/personas \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"personas": [
{
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"prompt": "<string>",
"successCriteria": "<string>",
"tags": [
"<string>"
],
"agentIds": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>"
}
]
}
}
}Returns personas for a workspace.
curl --request GET \
--url https://app2.freyavoice.ai/api/v2/personas \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"personas": [
{
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"prompt": "<string>",
"successCriteria": "<string>",
"tags": [
"<string>"
],
"agentIds": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>"
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1Base64-encoded filter state