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

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

FieldDescription
scenarioIdScenario identifier, unique in the workspace.
versionThe scenario's newest version.
scopeworkspace (your workspace's) or platform (shared by Platica with everyone). See scopes.
statusactive (can be used) or archived.
proposedByagent if the platform's AI agent builder wrote it; user otherwise. Both are active immediately.
contentHashContent fingerprint. Two versions with the same content have the same one.
scenarioThe content, with the defaults applied. See Scenario format.

Notes

  • The list comes complete in data, without pagination.
  • Read access to agents is enough.