List profiles
SDK platic.evals.profiles.list()
Choose a profileId before creating a scenario. The catalog offers general for any agent and sales for sales.
Example
curl "https://api.platic.ai/v1/evals/profiles" \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.evals.profiles.list(); Response
{
"status": "success",
"data": [
{ "profileId": "general", "version": 1, "title": "General" },
{ "profileId": "sales", "version": 1, "title": "Ventas" }
]
} Response fields
| Field | Description |
|---|---|
profileId | The value that goes in a scenario's profileId. |
version | Profile version. |
title | Display name. |
Notes
- The list comes complete in
data, without pagination. - When you create a scenario without
profileId, it takesgeneral. In a new version you have to send it. See profiles. - Read access to agents is enough.