Authentication
Reading requires an API key withagents_config:read. Creating, updating, deleting and running requires agents_config:write, which includes read access.
Quick Test
Ask an agent one question and get its answer in the response. Expect 10 to 30 seconds.client_context uses the client context entries format. It is also accepted when creating or updating a test case, returned with test cases, and supported by JSON import. Omit it on update to keep the saved context, or send null to clear it. Dataset runs inject the saved context on every turn.
Response:
agents_config:write
Datasets
Datasets group related test cases for batch simulation runs.List Datasets
agents_config:read
Create Dataset
Scope:
agents_config:write
Get, Update, Delete Dataset
{"default_persona_id": "persona-uuid"}. This field is not accepted when creating a dataset.
Deleting a dataset removes all its test cases and runs.
Test Cases
Each test case defines a question and the expected agent behavior.Expected Types
Create Test Case
agents_config:write
List Test Cases
agents_config:read
Bulk Create
Import from Conversation
Extract a test case from an existing conversation thread:agents_config:write
Personas
Personas simulate different user profiles during testing. A persona can run the tests with another agent and with different user attributes.Create Persona
Scope:
agents_config:write
List, Get, Update, Delete Personas
Simulation Runs
Start a Run
status: "pending".
Scope: agents_config:write
Poll Run Status
status is "completed" or "failed".
Scope:
agents_config:read
Get Run Details
Get Run Results
List Runs, Delete Run
MCP Tools
All simulation endpoints are available as MCP tools. Connect to the MCP server at/api/v1/mcp with an API key that has agents_config scopes.
Workflow: Run a Simulation via MCP
- Start the run: Call
start_simulation_runwithdataset_idandagent_id - Poll for completion: Call
get_simulation_run_statuswithrun_iduntilstatusis"completed"or"failed" - Get results: Call
get_simulation_run_resultswithrun_idto see individual test results
Available MCP Tools
Error Responses
Errors follow the standard API v1 format:Related
- Simulation Testing - Testing concepts and screens
- Use AGO from AI assistants - Connect an MCP client
- Public API v1 - Agent endpoints, detailed in the Agents section of the Endpoints sidebar
