Skip to content
Errors

List errors

List errors. The project’s errors in a period - failures grouped by fingerprint - most frequent first: by occurrences, then runs, then tests, ties by fingerprint, so a page never changes order between two requests over the same data. Over the finished runs of the source (see population), all shards of a run one run. Every count covers the period; firstSeen is the first occurrence still stored, not bounded by it. Moderate: one aggregate query, paged in the database.

GET/api/v1/projects/{projectId}/errors

Parameters

ParameterDescription
projectIdstring · pathrequired
A project id from GET /projects.
days7 | 14 | 30 | 90 · default 30
The period, in days, ending now. Must not exceed the plan’s retention (Standard 60, Pro 90 days); a longer period is refused with 400 invalid_period rather than answered with less data.
sourceci | local | all · default all
Which runs count, by where they ran: all - every run (the default since 1.0.0-beta.18; ci before); ci - runs a shard reported a CI provider for; local - runs no shard did. The response’s population names the one counted.
pageinteger · default 1
1-based page number. A page past the end answers the last page.
perPage10 | 25 | 50 · default 10
Rows per page.

Responses

200400401403404429500