Skip to main content
GET
Get an eval scenario

Autorisierungen

Authorization
string
header
erforderlich

Scoped API token. Required scopes are listed on each operation in x-required-scopes.

Pfadparameter

id
integer
erforderlich

ID of the eval scenario.

Abfrageparameter

runs_page
integer
Standard:1

Page of recent_runs to return. Values below 1 count as 1.

Erforderlicher Bereich: x >= 1
per_page
integer
Standard:20

Size of the recent_runs page. Clamped to 1..20.

Erforderlicher Bereich: 1 <= x <= 20

Antwort

The scenario with its cases and a page of recent runs.

Full scenario as returned by get, create, replace and duplicate.

id
integer
erforderlich

ID of the scenario.

name
string
erforderlich

Scenario name.

slug
string
erforderlich

URL-safe identifier generated from name.

active
boolean
erforderlich

Whether the scenario is active in the dashboard.

cases
object[]
erforderlich

Test cases in order.

recent_runs
object[]
erforderlich

A page of recent runs, newest first.

runs_pagination
object
erforderlich

Paging information for recent_runs.

agent_id
integer
erforderlich

The voice agent the scenario tests.

description
string | null

Free-text description.

number_id
integer
veraltet

Deprecated alias of agent_id.

number_name
string | null
veraltet

Deprecated alias of agent_name.

meta
Eval Scenario Meta · object | null

Models and overrides used when running the scenario.

latest_run
Eval Run Summary · object | null

Summary of the most recent run.

agent_name
string | null

Name of that voice agent.