---
title: "# Simulation Run Result"
method: GET
path: "/v1/simulations/{Id}/run/{RunId}"
tags: ["Simulation-Result"]
---

# # Simulation Run Result

`GET /v1/simulations/{Id}/run/{RunId}`

Includes Prevention and Detection result details
Prevention Result: Total Threats, Blocked/Not Blocked, Attackers Objective, UnAchieved/Achieved Count
Detection Result: Logged/Not Logged, Alerted/Not Alerted Count

## Path parameters

- `Id` integer, required
- `RunId` integer, required

## Response `200`

SimulationRunDetailResponse

- object
  - `completed_at` integer — Completed At (if completed)
  - `completion_ratio` integer
  - `fail_reason_message` string
  - `results` SimulationResultDTO
    - `detection_analysis` SimulationResultsDetectionDTO
      - `alert` SimulationResultsAlertDTO
        - `alerted_threat_count` integer — Alerted threat count
        - `not_alerted_threat_count` integer — Not alerted threat count
        - `score` integer — Alert score
      - `has_alert_analysis` boolean — Has detection analysis
      - `has_log_analysis` boolean — Has log analysis
      - `integrations` RunIntegration[]
        - `id` integer — Integration Identifier
        - `product_name` string — Integrated Product Name like Crowdstrike
      - `log` SimulationResultsLoggingDTO
        - `logged_threat_count` integer — Logged threat count
        - `not_logged_threat_count` integer — Not logged threat count
        - `score` integer — Log Score
      - `security_score` integer — Detection Security Score
    - `has_detection_analysis` boolean — Has detection analysis
    - `prevention` SimulationResultsPreventionDTO
      - `attacker_objectives` SimulationObjectiveCounts
        - `achived_count` integer — Achived attackers objective count
        - `not_tested_count` integer — Not tested attackers objective count
        - `total_count` integer — Total attackers objective count
        - `unachived_count` integer — Unachived attackers objective count
      - `security_score` integer — Prevention Security Score
      - `threat` SimulationThreatCounts
        - `blocked_count` integer — Blocked threat count
        - `not_blocked_count` integer — Not blocked threat count
        - `not_tested_count` integer — Not tested threat count
        - `total_count` integer — Total threat count
  - `scheduled_time` integer
  - `simulation_id` integer — Simulation Id
  - `simulation_run_id` integer — Simulation Run Id
  - `started_at` integer — Started At
  - `status` string — Status STOPPED | WAITING FOR THE FIRST RUN | NOT STARTED | COMPLETED
  - `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

## 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)
