List Scenarios
List paginated scenarios with optional search and filtering by agent definition or agent type. Returns scenario type, status, dataset row count, and creation timestamp.
GET
https://api.futureagi.com/simulate/scenarios/ Authentication
Query parameters
search
Case-insensitive filter against scenario name, source, and type.
agent_definition_id
Filter by agent definition UUID.
agent_type
Filter by agent type: "voice" or "text".
page
Page number, starting from 1. Default: 1.
limit
Results per page. Default: 10.
Response
200 OK count
Total matching scenarios.
next
URL of the next page, or
null. previous
URL of the previous page, or
null. results
Array of scenario objects.
id
UUID of the scenario.
name
Scenario name.
description
Scenario description.
source
Data source label.
scenario_type
"dataset" | "script" | "graph". scenario_type_display
Human-readable scenario type label.
source_type
"agent_definition" | "prompt". source_type_display
Human-readable source type label.
organization
Organization UUID.
dataset
UUID of the underlying dataset.
null if none. dataset_rows
Number of test case rows.
0 if no dataset. dataset_column_config
Map of column ID →
{name, type}. [] if no dataset. graph
Conversation graph data.
{} if none. agent
Simulator agent object.
null if none. agent_type
"inbound" | "outbound" | "chat" | "prompt" | null. prompt_template
Prompt template UUID.
null if none. prompt_template_detail
Prompt template details.
null if none. prompt_version
Prompt version UUID.
null if none. prompt_version_detail
Prompt version details.
null if none. status
Processing status (e.g.
"Processing", "Completed", "Failed"). deleted
Whether the scenario is soft-deleted.
deleted_at
Deletion timestamp.
null if not deleted. created_at
ISO 8601 creation timestamp.
updated_at
ISO 8601 last-modified timestamp.
Errors
401
Invalid or missing API credentials.
404
Organization not found for the authenticated user.
{"error": "Organization not found for the user."} 500
Unexpected server error.
{"error": "Failed to retrieve scenarios: <message>"}