# Fetch Scenario

Source: https://agenta.ai/docs/reference/api/fetch-scenario

`GET /evaluations/scenarios/{scenario_id}`

Base URL: `https://us.cloud.agenta.ai/api` (US cloud), `https://eu.cloud.agenta.ai/api` (EU cloud) or `$AGENTA_HOST/api` (self-hosted). Authentication: `Authorization: ApiKey YOUR_API_KEY`.

Fetch Scenario

## Parameters

- `scenario_id` (in path, string (uuid), required)

## Response schemas

### 200: Successful Response

- `count` (integer) Default: `0`.
- `scenario` (object, nullable)
  - `flags` (object, nullable)
    - `is_live` (boolean) Default: `false`.
    - `is_active` (boolean) Default: `false`.
    - `is_closed` (boolean) Default: `false`.
    - `is_queue` (boolean) Default: `false`.
    - `is_cached` (boolean) Default: `false`.
    - `is_split` (boolean) Default: `false`.
    - `has_queries` (boolean) Default: `false`.
    - `has_testsets` (boolean) Default: `false`.
    - `has_traces` (boolean) Default: `false`.
    - `has_testcases` (boolean) Default: `false`.
    - `has_evaluators` (boolean) Default: `false`.
    - `has_custom` (boolean) Default: `false`.
    - `has_human` (boolean) Default: `false`.
    - `has_auto` (boolean) Default: `false`.
  - `tags` (object, nullable)
  - `meta` (object, nullable)
  - `created_at` (string (date-time), nullable)
  - `updated_at` (string (date-time), nullable)
  - `deleted_at` (string (date-time), nullable)
  - `created_by_id` (string (uuid), nullable)
  - `updated_by_id` (string (uuid), nullable)
  - `deleted_by_id` (string (uuid), nullable)
  - `id` (string (uuid), nullable)
  - `version` (string, nullable)
  - `status` (string, one of: "pending", "queued", "running", "success", "failure", "errors", "cancelled", nullable) Default: `"pending"`.
  - `interval` (integer, nullable)
  - `timestamp` (string (date-time), nullable)
  - `run_id` (string (uuid), required)

### 422: Validation Error

- `detail` (array of object)
  - `loc` (array of string | integer, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (Context)
