List scenarios
SDK platic.evals.scenarios.list()
Choose scenarios for a suite or use their scenarioId to edit them. The list includes the newest version of each workspace and platform scenario, including those with status: "archived".
Example
curl "https://api.platic.ai/v1/evals/scenarios" \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.evals.scenarios.list(); Response
{
"status": "success",
"data": [
{
"scenarioId": "books_tuesday_appointment",
"version": 2,
"scope": "workspace",
"status": "active",
"proposedBy": "user",
"contentHash": "sha256:5f1c…",
"scenario": {
"scenarioId": "books_tuesday_appointment",
"title": "Books an appointment",
"profileId": "general",
"type": "script",
"user": { "steps": ["Hi, I want to book an appointment", "Tuesday afternoon", "Under the name Ana López"], "persona": "", "goal": "", "facts": {}, "behaviors": [] },
"expect": { "outcome": "The agent asks only for the missing details and confirms the day and time.", "process": "", "checks": [] },
"run": { "nTrials": 3, "maxTurns": 12 }
}
}
]
} Response fields
| Field | Description |
|---|---|
scenarioId | Scenario identifier, unique in the workspace. |
version | The scenario's newest version. |
scope | workspace (your workspace's) or platform (shared by Platica with everyone). See scopes. |
status | active (can be used) or archived. |
proposedBy | agent if the platform's AI agent builder wrote it; user otherwise. Both are active immediately. |
contentHash | Content fingerprint. Two versions with the same content have the same one. |
scenario | The content, with the defaults applied. See Scenario format. |
Notes
- The list comes complete in
data, without pagination. - Read access to agents is enough.