---
title: "# Simulation Detail"
method: GET
path: "/v1/simulations/{Id}"
tags: ["Simulations"]
---

# # Simulation Detail

`GET /v1/simulations/{Id}`

Simulation Detail; Simulation Name, Simulation Agent (with status), Enrichment Status, Last Prevention Result,
Last Detection Result (if Available), Simulation Run List

## Path parameters

- `Id` integer, required

## Response `200`

SimulationDetailReturnSwagger

- object
  - `Simulations` SimulationDetailsReturn
    - `agent` AgentSummary
      - `id` integer — Agent Id
      - `name` string — Agent Name
      - `status` string — Agent status gives information about your agent alive (alive | dead | expired)
      - `type` string — Agent type (QuickEmail | Browser | Installable Agent | Windows | Linux | MacOS)
      - `version` string — Agent Version like 3.4.0.0
    - `completion_ratio` integer
    - `created_at` integer — Simulation Created At
    - `detection_analysis` Detection
      - `integrations` Enrichment[] — Integration List
        - `id` integer — Integration Id
        - `product_name` string — Product Name
    - `has_detection_analysis` boolean — Is Simulation enriched with detection analysis
    - `has_last_run_detection_analysis` boolean — Is last simulation run contains detection analysis
    - `last_detection_security_score` integer — Simulation Detection Result (if there is a result)
    - `last_prevention_security_score` integer — Simulation Prevention Result (if there is a result)
    - `simulation_id` integer — Simulation Id
    - `simulation_name` string — Simulation Name
    - `simulation_run` SimulationRunReturn[]
      - `completed_at` integer — Run Completed At
      - `fail_reason_message` string
      - `id` string — Run Id
      - `scheduled_time` integer
      - `started_at` integer — Run Started At
      - `status` string — Run Status (RUNNING | COMPLETED | STOPPED | NOT STARTED | SCHEDULED | WAITING FOR THE FIRST RUN)
    - `status` string — Simulation Last Run Status (RUNNING | COMPLETED | STOPPED | NOT STARTED | SCHEDULED | WAITING FOR THE FIRST RUN)
    - `status_details` StatusDetails
      - `detection` ThreatCounts
        - `completed_threat_count` integer
        - `total_threat_count` integer
      - `prevention` ThreatCounts
        - `completed_threat_count` integer
        - `total_threat_count` integer
    - `template_id` integer — Template Id
    - `template_name` string — Template Name
    - `updated_at` integer — Simulation Updated At

## Other responses

- `422` — validationErrorSwagger is represents the erroneous cases
- `default` — genericErrorSwagger is represents the erroneous cases

---

[API](https://skmtc.net/picussecurity/apis/picus-rest-api.md) · [All operations](https://skmtc.net/picussecurity/apis/picus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picussecurity/picus-rest-api/versions/cb0d02ee28f8/schema)
