BugSnag: Get Events on an Error
bugsnag_get_events_on_an_errorGet events belonging to an error to compare stack traces, breadcrumbs, and metadata for troubleshooting.
Instructions
Gets a list of events that have grouped into the specified error
Toolset: Events
Parameters:
projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
errorId (string) required: Unique identifier of the error
filters (record<string, array>): Apply filters to narrow down the event list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"event.since":[{"type":"eq","value":"30d"}],"error.status":[{"type":"eq","value":"open"}]})
direction (enum): Sort direction for ordering results (default: "desc")
perPage (number): How many results to return per page. (default: 30)
nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
Use Cases: 1. Retrieving all the events for comparison to find commonalities or differences in stack traces, breadcrumbs and metadata
Examples:
Get events of an error
{
"projectId": "1234567890abcdef12345678",
"errorId": "6863e2af012caf1d5c320000"
}Expected Output: A list of events, ordered by timestamp, with complete details including stack trace, breadcrumbs, metadata, and context
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errorId | Yes | Unique identifier of the error | |
| filters | No | Apply filters to narrow down the event list. Use the List Project Event Filters tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). | |
| nextUrl | No | URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually. | |
| perPage | No | How many results to return per page. | |
| direction | No | Sort direction for ordering results | desc |
| projectId | No | Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools. |