List errors
Changed onList error groups in a specific environment. Runs that fail are grouped by a fingerprint derived from the error type, message, and stack trace. Filter by task identifier, version, status, search text, and time range.
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Paginate the results. Specify the number of errors per page, and the ID of the error to start the page after or before.
For object fields like page, use the "form" encoding style. For example, to get the next page, use page[after]=error_1234.
Filter the error groups. Filter by task identifier, version, status, search text, and time range.
For array fields, provide multiple values as a comma-separated list. For example, to get unresolved and ignored errors, use filter[status]=unresolved,ignored.
For the time range, use filter[period] (e.g. filter[period]=7d) or filter[from] / filter[to] with ISO timestamps.
{
"period": "7d"
}Response
Successful request
Example response
{
"data": [
{
"id": "error_8f3b2a1c9d4e5f60"
}
],
"pagination": {
"next": "error_8f3b2a1c9d4e5f60"
}
}Changes
- info
endpoint added
- info