---
title: "Investigate an APM issue"
method: GET
path: "/applications/{application-identifier}/apm/issues/{issue-identifier}"
tags: ["apm"]
---

# Investigate an APM issue

`GET /applications/{application-identifier}/apm/issues/{issue-identifier}`

Returns one APM issue with typed occurrence metrics and recent affected traces in the requested window. Slow issues use milliseconds; count-based anti-patterns use call counts.

## Query parameters

- `start` string, date-time, required
- `end` string, date-time, required
- `recentTraceCount` integer

## Response `200`

OK

- ApmIssueInvestigationResponse
  - `issue` ApmIssue, required
    - `identifier` string, required — The APM issue identifier in base36.
    - `applicationIdentifier` string, required — The Raygun application identifier in base36.
    - `type` 'none' | 'trace' | 'query' | 'method' | 'externalApi' | 'apdex' | 'chattyApi' | 'overusedApi' | 'nPlusOneQuery' | 'adhoc' | 'group', required — The kind of APM issue or anti-pattern.
    - `status` 'active' | 'resolved' | 'ignored' | 'permanentlyIgnored', required — The APM issue status.
    - `name` string, required — A privacy-safe issue label derived from the issue type.
    - `firstSeen` string, date-time, nullable, required — The first issue occurrence in the requested window, in UTC.
    - `lastSeen` string, date-time, nullable, required — The last issue occurrence in the requested window, in UTC.
    - `occurrenceCount` integer, required — The number of issue occurrences in the requested window.
    - `ruleIdentifier` string, nullable, required — The APM rule identifier in base36 when a rule created the issue.
    - `callIdentifier` string, nullable, required — The stable call identifier when the issue is attached to a call.
    - `applicationUrl` string, uri, required — A link to the issue in the Raygun application.
  - `p50DurationMilliseconds` number, double, nullable, required — The median issue duration in milliseconds for the requested window.
  - `p90DurationMilliseconds` number, double, nullable, required — The 90th percentile issue duration in milliseconds for the requested window.
  - `p99DurationMilliseconds` number, double, nullable, required — The 99th percentile issue duration in milliseconds for the requested window.
  - `recentTraces` ApmIssueTrace[], required — Recent traces containing this issue, newest first.
    - `identifier` string, required — The trace identifier in base36.
    - `name` string, required — A privacy-safe request or transaction name. URL path segments are redacted.
    - `httpMethod` string, nullable, required — The HTTP method when the trace represents an HTTP request.
    - `occurredOn` string, date-time, required — When the trace occurred, in UTC.
    - `durationMilliseconds` number, double, required — The total trace duration in milliseconds.
    - `issueDurationMilliseconds` number, double, nullable, required — The duration attributed to a duration-based issue in milliseconds, or null for a count-based issue.
    - `issueMetric` ApmIssueOccurrenceMetric, required
      - `type` 'durationMilliseconds' | 'callCount', required — How to interpret an APM issue metric.
      - `value` number, double, required — The metric value attributed to this issue occurrence.
    - `statusCode` integer, nullable, required — The response status code recorded for an HTTP trace, or null for a non-HTTP transaction.
    - `callIdentifier` integer, required — The profiler identifier of the offending call. Use it with a trace index returned by trace investigation.
    - `applicationUrl` string, uri, required — A link to the trace in the Raygun application.
  - `metric` ApmIssueMetricSummary, required
    - `type` 'durationMilliseconds' | 'callCount', required — How to interpret an APM issue metric.
    - `p50` number, double, nullable, required — The median issue metric for the requested window.
    - `p90` number, double, nullable, required — The 90th percentile issue metric for the requested window.
    - `p99` number, double, nullable, required — The 99th percentile issue metric for the requested window.
  - `start` string, date-time, required — The start of the investigated occurrence window, in UTC.
  - `end` string, date-time, required — The exclusive end of the investigated occurrence window, in UTC.

## Other responses

- `401` — Problem Details
- `403` — Problem Details
- `404` — Problem Details
- `422` — Validation problem details
- `429` — Too Many Requests

---

[API](https://skmtc.net/raygun/apis/raygun-api.md) · [All operations](https://skmtc.net/raygun/apis/raygun-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/raygun/raygun-api/revisions/45caf50be25e/schema)
