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

await platic.evals.profiles.list();

Response

{
  "status": "success",
  "data": [
    { "profileId": "general", "version": 1, "title": "General" },
    { "profileId": "sales", "version": 1, "title": "Ventas" }
  ]
}

Response fields

FieldDescription
profileIdThe value that goes in a scenario's profileId.
versionProfile version.
titleDisplay name.

Notes

  • The list comes complete in data, without pagination.
  • When you create a scenario without profileId, it takes general. In a new version you have to send it. See profiles.
  • Read access to agents is enough.