---
title: "Get Simulations"
method: GET
path: "/workflows/v1/simulations"
tags: ["Simulations"]
---

# Get Simulations

`GET /workflows/v1/simulations`

Endpoint to retrieve all simulations.

## Query parameters

- `size` integer — Number of items per page
- `page` integer — Page number
- `search` string, nullable — Search keywords
- `start` string, date-time, nullable — Filter by start time (ISO 8601 format)
- `end` string, date-time, nullable — Filter by end time (ISO 8601 format)
- `logical_id` string, nullable
- `selected_workflow_id` string
- `counter_workflow_id` string
- `status` 'pending' | 'running' | 'completed' | 'failed' | 'cancelled'
- `selected_version_number` integer, nullable
- `counter_version_number` integer, nullable

## Response `200`

Successful Response

- SimulationListResponse — Response model for a list of simulations. Contains a list of SimulationConfigModel objects.
  - `simulations` SimulationConfigModel[] — List of simulations
    - `team_id` string, nullable — ID of the team that owns this edge
    - `created_by` string, nullable — ID of the user who created this edge
    - `updated_by` string, nullable — ID of the user who last updated this edge
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `_id` string
    - `simulation_config` SimulationConfigOutput
      - `logical_id` string, nullable — Unique identifier for the simulation
      - `status` 'pending' | 'running' | 'completed' | 'failed' | 'cancelled', nullable — Current status of the simulation
      - `name` string, nullable — Name of the simulation
      - `description` string, nullable — Description of the simulation
      - `selected_workflow` object, nullable — Details about the selected workflow execution
        - `workflow_id` string, nullable — DB Object ID of the workflow this simulation is associated with
        - `version_number` integer, nullable — Version number of the workflow this simulation is associated with. 0 is the initial version (default).
        - `version_name` string, nullable — Version name of the workflow this simulation is associated with
        - `dynamic_variables` object, nullable — Dynamic variables to apply to the workflow
        - `name` string, nullable — Name of the selected workflow
        - `total_events` integer, nullable — Total number of events processed in the selected workflow
        - `total_nodes` integer, nullable — Total number of nodes in the selected workflow
        - `total_duration_seconds` integer, nullable — Total duration in seconds for the selected workflow
        - `run_id` string, nullable — Workflow Run ID of the executed workflow
      - `counter_workflow` object, nullable — Details about the counter workflow execution
        - `workflow_id` string, nullable — DB Object ID of the workflow this simulation is associated with
        - `version_number` integer, nullable — Version number of the workflow this simulation is associated with. 0 is the initial version (default).
        - `version_name` string, nullable — Version name of the workflow this simulation is associated with
        - `dynamic_variables` object, nullable — Dynamic variables to apply to the workflow
        - `name` string, nullable — Name of the selected workflow
        - `total_events` integer, nullable — Total number of events processed in the selected workflow
        - `total_nodes` integer, nullable — Total number of nodes in the selected workflow
        - `total_duration_seconds` integer, nullable — Total duration in seconds for the selected workflow
        - `run_id` string, nullable — Workflow Run ID of the executed workflow
      - `timeout_seconds` integer, nullable — Maximum time in seconds to run the simulation
      - `max_events` integer, nullable — Maximum number of events to process in the simulation
      - `number_of_simulations` integer, nullable — Number of times to run the simulation
      - `max_concurrent_runs` integer, nullable — Maximum number of concurrent simulation runs allowed
      - `assistant_starts_first` boolean, nullable — If True, the assistant workflow will kick off first, else it will be the user workflow.
      - `stop_on_failure` boolean, nullable — Whether to stop the simulation on failure
      - `run_by` string, nullable — Identifier of the user or system that initiated the workflow simulation
  - `total` integer, nullable — Total number of simulations available without pagination.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/interactly/apis/interactly-api-3.md) · [All operations](https://skmtc.dev/interactly/apis/interactly-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/interactly/interactly-api-3/revisions/d276be705570/schema)
