---
title: "# Threats - Objectives - Actions"
method: GET
path: "/v1/simulations/{Id}/run/latest/threats"
tags: ["Simulation-Latest-Result"]
---

# # Threats - Objectives - Actions

`GET /v1/simulations/{Id}/run/latest/threats`

## Request

- Base URL: `https://api.picussecurity.com`
- URL: `https://api.picussecurity.com/v1/simulations/{Id}/run/latest/threats`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/picussecurity/apis/picus-rest-api/docs/v1/simulations/:Id/run/latest/threats/get.ts> (a function with typed inputs; its response is checked against the schema)

Includes Threat, Attacker's Objective, Action results for Prevention and Threat, Action results for Detection.
Default limit: 10, Default offset: 0
Max limit: 50

## Path parameters

- `Id` integer, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

ThreatResultsReturnSwagger

- object
  - `pages` Pagination
    - `limit` integer: Limit
    - `offset` integer: Offset
    - `total_count` integer: Total Count
  - `threats` SimulationRunThreat[]
    - `completed_at` integer: Completed At
    - `detection_analysis` ThreatsDetectionResult
      - `alert_result` string: Alert result if it has alert analysis
      - `has_alert_analysis` boolean: Has alert analysis
      - `has_log_analysis` boolean: Has log analysis
      - `integrations` Enrichment[]
        - `id` integer: Integration Id
        - `product_name` string: Product Name
      - `log_result` string: Log result if it has log analysis
    - `has_detection_analysis` boolean: Has detection analysis
    - `objectives` Objective[]
      - `actions` FlowNode[]
        - `display_id` integer
        - `false_items` FlowNode[]
        - `id` integer
        - `name` string
        - `node_id` integer
        - `true_items` FlowNode[]
        - `type` string
      - `id` integer
      - `name` string
      - `type` string
    - `prevention` string: Prevention Result
    - `release_date` integer: Release Date
    - `severity` string: Severity
    - `started_at` integer: Started At
    - `threat_display_id` integer: Threat Display Id
    - `threat_id` integer: Threat Id
    - `threat_name` string: Threat Name

## Other responses

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

---

[API](https://skmtc.dev/picussecurity/apis/picus-rest-api.md) - [All operations](https://skmtc.dev/picussecurity/apis/picus-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/picussecurity/apis/picus-rest-api/revisions/da387004d99b?raw)
