Skip to main content
POST
List incident error counts
For how to investigate error incidents with this endpoint, see Querying traces.

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>

Body

application/json

Query for the incident error list.

site_id
string
required

Site to fetch incident error counts for.

from
string<date-time>
required

Start of the time range (inclusive).

to
string<date-time>
required

End of the time range (inclusive).

namespaces
string[]

Namespaces to filter by. When empty, all namespaces are included.

revision
string | null

Deployment revision to filter by. When absent, all revisions are included.

Response

Incident digests matching the filter, with their error counts.

incident_digest
string
required

The incident digest.

namespace
string
required

Application namespace the incident occurred in.

revision
string
required

Most recent deployment revision the incident occurred in within the queried time range.

error_count
integer<u-int64>
required

Total error occurrences for this digest across the queried time range, summed across every matching revision.

Required range: x >= 0