# Get target execution occurrence

Returns one occurrence from a target execution by occurrenceInternalId for a specific scan. Pass scanId from the findings list row — the same occurrenceInternalId may appear once per scan in an execution. The response is the same occurrence Details object used by the vulnerabilities and Issue Page V2 APIs.

Endpoint: GET /sto/api/v2/targets/{id}/executions/{executionId}/occurrences/{occurrenceInternalId}
Version: 1.0
Security: 

## Query parameters:

  - `accountId` (string, required)
    Harness Account ID
    Example: "abcdef1234567890ghijkl"

  - `orgId` (string, required)
    Harness Organization ID
    Example: "example_org"

  - `projectId` (string, required)
    Harness Project ID
    Example: "example_project"

  - `scanId` (string, required)
    Scan ID from the findings list row. Required so detail matches the clicked scan when the same occurrence appears in multiple scans of one execution.
    Example: "scan111111111111111111"

## Path parameters:

  - `id` (string, required)
    Target ID
    Example: "abcdef1234567890ghijkl"

  - `executionId` (string, required)
    Harness Execution ID
    Example: "abcdef1234567890ghijkl"

  - `occurrenceInternalId` (integer, required)
    Internal ID of the occurrence
    Example: 12345

## Response 400 fields (application/json):

  - `message` (string, required)
    Example: "Not Found"

  - `status` (integer)
    Example: 404


