Scenarios are the role-plays learners can practice (called agents in the dashboard). The API is read-only — creating or editing scenario configuration stays in the dashboard.

List scenarios

Returns 200:
assignmentCount is how many learners currently have the scenario assigned — the same number you get from GET /assignments?scenario=<slug> with limit=0 semantics.

Get a scenario

Returns the scenario plus its role-play configuration in data (objective, difficulty, persona hints — whatever the dashboard configures):
Unknown slugs return 404.

Permissions

Requires the scenarios read permission. Keys created after this endpoint existed get it automatically; pre-existing keys were granted it by migration. The scenario data payload is dashboard-controlled and may gain fields at any time — treat it as opaque display data, not a contract.