latestOpenAPI 3.0.32026-08-185644172.3 KB

45caf50be25e

apm

Search APM traces

Returns a filtered, ordered, and paged set of APM trace summaries for the specified application. The end of the search window is exclusive.

post/applications/{application-identifier}/apm/traces/search

Request body

startstring date-time required

Start of the trace search window.

endstring date-time required

Exclusive end of the trace search window. The window cannot exceed 30 days.

querystring nullable

Optional request text with at most 20 whitespace-separated terms. Every term must occur in the HTTP method or trace name.

minimumDurationMillisecondsinteger nullable

Optional minimum trace duration in milliseconds.

statusCodesinteger[] nullable

Optional HTTP status codes to include.

offsetinteger

Zero-based result offset.

countinteger

Maximum traces to return.

sortBy'occurredOn' | 'duration' | 'name' | 'statusCode'

Field to order by.

sortDirection'ascending' | 'descending'

Direction to order matching traces.

Response

OK

totalResultsinteger required

The total number of traces matching the search.

offsetinteger required

The zero-based offset of this page.

countinteger required

The number of traces returned in this page.

hasMoreboolean required

Whether another page of matching traces is available.

startstring date-time required

The start of the searched window, in UTC.

endstring date-time required

The exclusive end of the searched window, in UTC.