---
title: "Search APM issues"
method: POST
path: "/applications/{application-identifier}/apm/issues/search"
tags: ["apm"]
---

# Search APM issues

`POST /applications/{application-identifier}/apm/issues/search`

Returns a filtered, ordered, and paged set of recurring APM issues and their occurrence counts in the requested window.

## Request body

- ApmIssueSearchRequest
  - `start` string, date-time, required — Start of the issue occurrence window.
  - `end` string, date-time, required — Exclusive end of the issue occurrence window. The window cannot exceed 30 days.
  - `query` string, nullable — Optional issue-name text with at most 20 whitespace-separated terms. Every term must occur in the issue name.
  - `status` 'active' | 'resolved' | 'ignored' | 'permanentlyIgnored' — The APM issue status.
  - `type` 'none' | 'trace' | 'query' | 'method' | 'externalApi' | 'apdex' | 'chattyApi' | 'overusedApi' | 'nPlusOneQuery' | 'adhoc' | 'group' — The kind of APM issue or anti-pattern.
  - `offset` integer — Zero-based result offset.
  - `count` integer — Maximum issues to return.
  - `sortBy` 'firstSeen' | 'lastSeen' | 'occurrenceCount' | 'name' | 'type' | 'status' — Field to order by.
  - `sortDirection` 'ascending' | 'descending' — Direction to order matching issues.

## Response `200`

OK

- ApmIssueSearchResponse
  - `items` ApmIssue[], required — The matching issues in the requested page.
    - `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.
  - `totalResults` integer, required — The total number of issues matching the search.
  - `offset` integer, required — The zero-based offset of this page.
  - `count` integer, required — The number of issues returned in this page.
  - `hasMore` boolean, required — Whether another page of matching issues is available.
  - `start` string, date-time, required — The start of the searched occurrence window, in UTC.
  - `end` string, date-time, required — The exclusive end of the searched occurrence window, in UTC.

## Other responses

- `400` — Problem Details
- `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)
