OmniDimension Simulation API
Run automated agent test simulations with scenarios and quick-test workflows.
Run automated agent test simulations with scenarios and quick-test workflows.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/omnidim-io:omnidim-io-simulation-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OmniDimension Simulation API
version: '1.0'
description: 'Public REST API for the OmniDimension voice-agent platform. Use it
to manage agents, dispatch calls, run bulk-call campaigns, manage
knowledge bases, attach phone numbers, run agent simulations, and
administer reseller accounts.'
contact:
name: OmniDimension
url: https://omnidim.io
servers:
- url: https://omnidim.io/api/v1
description: Production. `https://backend.omnidim.io/api/v1` also works and serves the same API.
security:
- BearerAuth: []
tags:
- name: Simulation
description: 'Run automated agent test simulations with scenarios and quick-test
workflows.'
paths:
/simulations:
get:
tags:
- Simulation
operationId: listSimulations
summary: List simulations
description: Retrieve simulations with pagination.
x-codeSamples:
- lang: python
label: Python SDK
source: 'from omnidimension import Client
client = Client(api_key)
# List all simulations with pagination
response = client.simulation.list(pageno=1, pagesize=10)
print(response)
'
parameters:
- name: pageno
in: query
description: Page number for pagination.
schema:
type: integer
default: 1
- name: pagesize
in: query
description: Items per page (max 150).
schema:
type: integer
default: 10
maximum: 150
responses:
'200':
description: Paginated list of simulations.
content:
application/json:
schema:
type: object
properties:
records:
type: array
items:
$ref: '#/components/schemas/Simulation'
total_records:
type: integer
example:
records: []
total_records: 0
post:
tags:
- Simulation
operationId: createSimulation
summary: Create simulation
description: Create a new test simulation with scenarios.
x-codeSamples:
- lang: python
label: Python SDK
source: "from omnidimension import Client\nclient = Client(api_key)\n\n# Create a basic simulation\nresponse = client.simulation.create(\n name=\"Restaurant Order Taking Test\",\n agent_id=123,\n number_of_call_to_make=1,\n concurrent_call_count=3,\n max_call_duration_in_minutes=3,\n scenarios=[\n {\n \"name\": \"Order Pizza\",\n \"description\": \"1. Act as a customer wanting to order pizza\\n2. Ask for menu items\\n3. Order a large pepperoni pizza\\n4. Provide contact details\\n5. End call with thank you\",\n \"expected_result\": \"Order should be placed successfully and confirmation provided\",\n \"selected_voices\": [\n {\"id\": \"voice_id_1\", \"provider\": \"eleven_labs\"},\n {\"id\": \"voice_id_2\", \"provider\": \"play_ht\"}\n ]\n }\n ]\n)\nprint(response)\n"
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- agent_id
properties:
name:
type: string
description: Name of the simulation.
example: My Simulation
agent_id:
type: integer
description: ID of the agent to test.
example: 158910
number_of_call_to_make:
type: integer
default: 1
minimum: 1
maximum: 3
description: Number of calls to make per scenario (default 1, max 3).
concurrent_call_count:
type: integer
default: 3
minimum: 1
maximum: 3
description: Number of concurrent calls to run (default 3, max 3).
max_call_duration_in_minutes:
type: integer
default: 3
minimum: 1
maximum: 10
description: Maximum duration for each call in minutes (default 3, max 10).
scenarios:
type: array
description: List of test scenarios to execute.
items:
type: object
required:
- name
- description
- expected_result
properties:
name:
type: string
description: Name of the test scenario.
example: Polite cancellation
description:
type: string
description: Detailed instructions for the test scenario.
example: Ask to cancel a subscription, but be friendly.
expected_result:
type: string
description: Expected outcome or behavior from the agent.
example: Agent acknowledges the request and routes to retention.
selected_voices:
type: array
description: Voice configurations for the test calls. If multiple voices are selected, the agent randomly picks one per call per scenario.
items:
type: object
required:
- id
- provider
properties:
id:
type: string
description: Voice ID from the provider.
provider:
type: string
enum:
- eleven_labs
- play_ht
- deepgram
- cartesia
- rime
example: eleven_labs
responses:
'200':
description: Simulation created.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
simulation:
$ref: '#/components/schemas/Simulation'
example:
success: true
simulation:
id: 456
name: Customer Support Test
bot_id:
id: 1234
name: Customer Support Agent
scenarios_ids: []
status: Draft
number_of_call_to_make: 1
concurrent_call_count: 3
max_call_duration_in_minutes: 3
what_went_wrong: false
suggestions_for_improvement: false
prompt_suggestion: false
is_auto_prompt_suggestions_applied: false
how_many_scenario_to_generate: 0
summary: false
analyticsData:
Positive: 0
Negative: 0
Neutral: 0
total_simulation_remaining_records: 0
total_simulation_in_progress_records: 0
total_simulation_finished_records: 0
total_records: 0
progress:
- 0
create_date: 05/08/2026 09:10:29
simulation_call_recording: []
can_stop: false
active_calls_count: 0
/simulations/{simulation_id}:
parameters:
- name: simulation_id
in: path
required: true
schema:
type: integer
get:
tags:
- Simulation
operationId: getSimulation
summary: Get simulation
description: Detailed simulation information.
x-codeSamples:
- lang: python
label: Python SDK
source: 'from omnidimension import Client
client = Client(api_key)
# Get details of a specific simulation
simulation_id = 456
response = client.simulation.get(simulation_id)
print(response)
'
responses:
'200':
description: Simulation details.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
simulation:
$ref: '#/components/schemas/Simulation'
example:
success: true
simulation:
id: 456
name: Customer Support Test
bot_id:
id: 1234
name: Customer Support Agent
scenarios_ids: []
status: Draft
number_of_call_to_make: 1
concurrent_call_count: 3
max_call_duration_in_minutes: 3
what_went_wrong: false
suggestions_for_improvement: false
prompt_suggestion: false
is_auto_prompt_suggestions_applied: false
how_many_scenario_to_generate: 0
summary: false
analyticsData:
Positive: 0
Negative: 0
Neutral: 0
total_simulation_remaining_records: 0
total_simulation_in_progress_records: 0
total_simulation_finished_records: 0
total_records: 0
progress:
- 0
create_date: 05/08/2026 09:10:29
simulation_call_recording: []
can_stop: false
active_calls_count: 0
put:
tags:
- Simulation
operationId: updateSimulation
summary: Update simulation
description: Update an existing simulation. Pass the full `scenarios` array (existing entries you want to keep plus any changes).
x-codeSamples:
- lang: python
label: Python SDK
source: "from omnidimension import Client\nclient = Client(api_key)\n\n# Update an existing simulation\nsimulation_id = 456\nupdate_data = {\n \"name\": \"Updated Restaurant Test\",\n \"max_call_duration_in_minutes\": 5,\n \"scenarios\": [\n {\n \"name\": \"Updated Order Pizza\",\n \"description\": \"Updated instructions...\",\n \"expected_result\": \"Updated expected behavior...\"\n }\n ]\n}\nresponse = client.simulation.update(simulation_id, update_data)\nprint(response)\n"
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
example: Pricing objection run
description: Name of the simulation for identification.
agent_id:
type: integer
example: 158910
description: ID of the agent to test.
number_of_call_to_make:
type: integer
minimum: 1
maximum: 3
description: Number of calls to make per scenario (default 1, max 3).
concurrent_call_count:
type: integer
minimum: 1
maximum: 3
description: Number of concurrent calls to run (default 3, max 3).
max_call_duration_in_minutes:
type: integer
minimum: 1
maximum: 10
description: Maximum duration for each call in minutes (default 3, max 10).
scenarios:
type: array
description: Full scenario list. Include existing scenarios you want to keep, plus any new or updated ones.
items:
type: object
required:
- name
- description
- expected_result
properties:
id:
type: integer
description: Include this to update an existing scenario; omit it to add a new one.
name:
type: string
description: Name of the test scenario.
description:
type: string
description: Updated instructions for the test scenario.
expected_result:
type: string
description: Updated expected outcome from the agent.
selected_voices:
type: array
description: Updated voice configurations for the test calls.
items:
type: object
required:
- id
- provider
properties:
id:
type: string
description: Voice ID from the provider.
provider:
type: string
enum:
- eleven_labs
- play_ht
- deepgram
- cartesia
- rime
responses:
'200':
description: Updated simulation.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
simulation:
$ref: '#/components/schemas/Simulation'
example:
success: true
simulation:
id: 456
name: Customer Support Test (Updated)
bot_id:
id: 1234
name: Customer Support Agent
status: Draft
number_of_call_to_make: 1
concurrent_call_count: 3
max_call_duration_in_minutes: 5
delete:
tags:
- Simulation
operationId: deleteSimulation
summary: Delete simulation
description: Permanently delete a simulation.
x-codeSamples:
- lang: python
label: Python SDK
source: 'from omnidimension import Client
client = Client(api_key)
# Delete a simulation
simulation_id = 456
response = client.simulation.delete(simulation_id)
print(response)
'
responses:
'200':
description: Simulation deleted.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
message:
type: string
example:
success: true
message: Simulation deleted successfully
/simulations/{simulation_id}/start:
post:
tags:
- Simulation
operationId: startSimulation
summary: Start simulation
description: Begin running a simulation. Optionally update scenarios at start time (same shape as Update simulation).
x-codeSamples:
- lang: python
label: Python SDK
source: "from omnidimension import Client\nclient = Client(api_key)\n\n# Start a simulation\nsimulation_id = 456\nresponse = client.simulation.start(simulation_id)\nprint(response)\n\n# Start with updated scenarios\nresponse = client.simulation.start(\n simulation_id,\n scenarios=[\n {\n \"id\": 789,\n \"name\": \"Updated Order Pizza\",\n \"description\": \"Updated instructions...\",\n \"expected_result\": \"Updated expected behavior...\",\n \"selected_voices\": [...]\n }\n ]\n)\nprint(response)\n"
parameters:
- name: simulation_id
in: path
required: true
schema:
type: integer
requestBody:
content:
application/json:
schema:
type: object
properties:
scenarios:
type: array
description: Optional array of scenarios to update before starting.
items:
type: object
required:
- name
- description
- expected_result
properties:
id:
type: integer
description: Include this to update an existing scenario; omit it to add a new one.
name:
type: string
example: Customer asks about pricing
description:
type: string
example: Caller pushes back on the monthly price.
description: Updated instructions for the test scenario.
expected_result:
type: string
example: Agent explains the tiers without discounting.
description: Updated expected outcome from the agent.
selected_voices:
type: array
description: Updated voice configurations for the test calls.
items:
type: object
required:
- id
- provider
properties:
id:
type: string
description: Voice ID from the provider.
provider:
type: string
enum:
- eleven_labs
- play_ht
- deepgram
- cartesia
- rime
responses:
'200':
description: Simulation started.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
message:
type: string
simulation:
$ref: '#/components/schemas/Simulation'
example:
success: true
message: Simulation started successfully
simulation:
id: 456
name: Customer Support Test
status: Pending
number_of_call_to_make: 1
concurrent_call_count: 3
max_call_duration_in_minutes: 3
/simulations/{simulation_id}/stop:
post:
tags:
- Simulation
operationId: stopSimulation
summary: Stop simulation
description: Stop a running simulation.
x-codeSamples:
- lang: python
label: Python SDK
source: 'from omnidimension import Client
client = Client(api_key)
# Stop a running simulation
simulation_id = 456
response = client.simulation.stop(simulation_id)
print(response)
'
parameters:
- name: simulation_id
in: path
required: true
schema:
type: integer
responses:
'200':
description: 'Stop attempted. `success: true` when the simulation was
running and is now stopped; `success: false` (still HTTP
200) when the simulation isn''t in a stoppable state; the
`message` explains why. `disconnect_results` is only
present on the success path.
'
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
message:
type: string
disconnect_results:
type: object
description: Per-recording stop counts. Only present when `success` is true.
properties:
successful_disconnects:
type: integer
failed_disconnects:
type: integer
pending_stopped:
type: integer
example:
success: true
message: Simulation stopped successfully
disconnect_results:
successful_disconnects: 0
failed_disconnects: 0
pending_stopped: 0
/simulations/{simulation_id}/enhance-prompt:
post:
tags:
- Simulation
operationId: enhancePrompt
summary: Enhance prompt
description: Generate prompt-improvement suggestions for a completed simulation.
x-codeSamples:
- lang: python
label: Python SDK
source: 'from omnidimension import Client
client = Client(api_key)
# Get enhanced prompt suggestions
simulation_id = 456
response = client.simulation.enhance_prompt(simulation_id)
print(response)
'
parameters:
- name: simulation_id
in: path
required: true
schema:
type: integer
responses:
'200':
description: 'Enhanced prompt suggestions. The simulation must be in
`Completed` status; otherwise the API returns 400.
'
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
previous_context:
type: array
description: The agent's existing context-breakdown sections.
items:
type: object
properties:
title:
type: string
prompt:
type: string
prompt_breakdown:
type: array
description: Suggested replacement sections, structured the same way.
items:
type: object
properties:
title:
type: string
prompt:
type: string
example:
success: true
previous_context:
- title: Purpose
prompt: This agent helps customers with product inquiries and support issues.
prompt_breakdown:
- title: Purpose
prompt: This agent helps customers with product inquiries, support issues, and frequently asked product questions.
'400':
description: 'Simulation is not in `Completed` status. Body:
`{"error": "invalid_state", "error_description": "Enhanced prompt suggestions are only available for completed simulations"}`.
'
/simulations/{simulation_id}/apply-enhanced-prompt:
post:
tags:
- Simulation
operationId: applyEnhancedPrompt
summary: Apply enhanced prompt
description: Rewrite the agent's prompt sections from a completed simulation's suggestions. The agent's current sections are replaced, so save a version first if you may want them back. To review a proposed rewrite without applying it, call `enhancePrompt`. The applied text is generated again and can differ slightly from that preview.
x-codeSamples:
- lang: python
label: Python SDK
source: 'from omnidimension import Client
client = Client(api_key)
response = client.simulation.apply_enhanced_prompt(456)
print(response["json"]["agent_id"])
'
parameters:
- name: simulation_id
in: path
required: true
schema:
type: integer
responses:
'200':
description: The agent's prompt sections were replaced.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
message:
type: string
agent_id:
type: integer
description: The agent whose prompt changed.
example:
success: true
message: Enhanced prompt applied to agent successfully
agent_id: 123
'400':
description: 'The simulation has no prompt suggestions yet. They are written when
the simulation completes.
'
'401':
description: Missing or invalid API key.
'403':
description: The API key's user cannot run simulations.
'404':
description: Simulation not found or access denied.
/agents/{agent_id}/auto-scenarios:
post:
tags:
- Simulation
operationId: generateAutoScenarios
summary: Generate test scenarios
description: 'Write test scenarios for an agent from its prompt. Each scenario has a name, the steps the simulated caller follows, and how the agent should respond. Nothing is saved: pass the ones you want to `createSimulation`.'
x-codeSamples:
- lang: python
label: Python SDK
source: "from omnidimension import Client\nclient = Client(api_key)\n\nresponse = client.simulation.generate_scenarios(agent_id=123, number_of_scenarios=5)\nfor scenario in response[\"json\"][\"scenarios\"]:\n print(scenario[\"name\"])\n"
parameters:
- name: agent_id
in: path
required: true
schema:
type: integer
description: The ID of the agent.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- number_of_scenarios
properties:
number_of_scenarios:
type: integer
minimum: 1
description: How many scenarios to write.
example:
number_of_scenarios: 5
responses:
'200':
description: The generated scenarios.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
scenarios:
type: array
items:
type: object
properties:
name:
type: string
description:
type: string
description: The steps the simulated caller follows.
expected_result:
type: string
description: How the agent should respond.
example:
success: true
scenarios:
- name: Reschedule an appointment
description: Ask to move tomorrow's appointment to Friday afternoon.
expected_result: The agent confirms the new slot and repeats the date and time.
'400':
description: '`number_of_scenarios` is missing.'
'401':
description: Missing or invalid API key.
'403':
description: The API key's user cannot run simulations.
'404':
description: Agent not found or access denied.
components:
schemas:
Simulation:
type: object
description: A test simulation for an agent.
properties:
id:
type: integer
example: 772
name:
type: string
bot_id:
type: object
description: The agent under test.
properties:
id:
type: integer
name:
type: string
status:
type: string
enum:
- Draft
- Pending
- In Progress
- Calculating Summary
- Completed
- Stopped
number_of_call_to_make:
type: integer
concurrent_call_count:
type: integer
max_call_duration_in_minutes:
type: integer
scenarios_ids:
type: array
description: Scenario records attached to this simulation.
items:
type: object
additionalProperties: true
what_went_wrong:
oneOf:
- type: string
- type: boolean
suggestions_for_improvement:
oneOf:
- type: string
- type: boolean
prompt_suggestion:
oneOf:
- type: string
- type: boolean
is_auto_prompt_suggestions_applied:
type: boolean
how_many_scenario_to_generate:
type: integer
summary:
oneOf:
- type: string
- type: boolean
analyticsData:
type: object
properties:
Positive:
type: integer
Negative:
type: integer
Neutral:
type: integer
total_simulation_remaining_records:
type: integer
total_simulation_in_progress_records:
type: integer
total_simulation_finished_records:
type: integer
total_records:
type: integer
progress:
type: array
minItems: 1
maxItems: 1
items:
type: integer
description: Single-element array containing the progress percentage (0-100). Quirky shape preserved for backwards compatibility.
example:
- 0
simulation_call_recording:
type: array
items:
type: object
additionalProperties: true
can_stop:
type: boolean
active_calls_count:
type: integer
create_date:
type: string
example: 05/06/2026 13:31:54
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'Bearer token authentication. Obtain your API key from the
OmniDimension dashboard.
'