---
title: "List scenarios"
method: GET
path: "/simulate/scenarios/"
tags: ["Scenarios"]
---

# List scenarios

`GET /simulate/scenarios/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/scenarios/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Returns a paginated list of scenarios for the user's organization.

## Query parameters

- `search` string
- `agent_definition_id` string, uuid
- `agent_type` string
- `page` integer
- `limit` integer

## Response `200`

OK

- ScenarioListResponse
  - `count` integer
  - `next` string, nullable
  - `previous` string, nullable
  - `results` ScenarioResponse[]
    - `id` string, uuid
    - `name` string, required: Name of the scenario
    - `description` string, nullable: Optional description of the scenario
    - `source` string, required: Source content or reference for the scenario
    - `scenario_type` 'graph' | 'script' | 'dataset': Type of scenario (graph, script, or dataset)
    - `scenario_type_display` string
    - `source_type` 'agent_definition' | 'prompt': Source type for the scenario: agent_definition or prompt
    - `source_type_display` string
    - `organization` string, uuid: Organization this scenario belongs to
    - `dataset` string, uuid, nullable: Dataset associated with this scenario (only for dataset type scenarios)
    - `dataset_rows` string
    - `dataset_column_config` string
    - `graph` string
    - `agent` string
    - `prompt_template` string, uuid, nullable: Prompt template associated with this scenario (only for prompt source type)
    - `prompt_template_detail` string
    - `prompt_version` string, uuid, nullable: Prompt version associated with this scenario (only for prompt source type)
    - `prompt_version_detail` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `deleted` boolean
    - `status` 'NotStarted' | 'Queued' | 'Running' | 'Completed' | 'Editing' | 'Inactive' | 'Failed' | 'PartialRun' | 'ExperimentEvaluation' | 'Uploading' | 'PartialExtracted' | 'Processing' | 'Deleting' | 'PartialCompleted' | 'OptimizationEvaluation' | 'Error' | 'Cancelled': Status of the scenario
    - `deleted_at` string, date-time, nullable
    - `agent_type` string

## Other responses

- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
