Errors API
This endpoint returns a list of individual errors, sorted by date descending.
URI
The following querystring parameters are accepted:
application
String
Optional
Filter the results to only the Application key provided.
endDate
ISO 8601 String
Optional
Filter the results to only return errors before this date. Time precision is within 1 second.
startDate
ISO 8601 String
Optional
Filter the results to only return errors after this date. Time precision is within 1 second.
page
Number
Optional
The page of data you want returned. By default, the first page of data is returned. See Paging.
size
Number 1-1000
Optional
The size of the page of data you want returned. See Paging.
query
String
Optional
Filter the results to errors that match the supplied query term. The query searches errors in the same way as the TrackJS Dashboard Search. Many fields are searched including Error Message, URLs, Metadata and User IDs.
includeStack
Boolean
Optional
Whether to return a stackTrace
with the Error response. The value is unprocessed except for splitting on newlines \n
. These can be very large, so they are not included by default.
Response
Example
Search Example
It is often useful to filter the errors returned by more than date range. The query
parameter allows you to limit results to those that contain the supplied string. The query string is used to perform the same search done in the TrackJS Dashboard Search. You can search against many fields including Error Message, URLs, Metadata and User IDs.