BugSnag
App · 25 actions
Report and manage BugSnag errors: fix, ignore, assign and comment on errors, read their events and releases, and manage projects and collaborators, with triggers for new errors, events and releases.
Actions
| Action | What it does |
|---|---|
| Comment on error | Add a comment to an error. |
| Create project | Create a project in an organization. |
| Delete comment | Delete a comment. |
| Delete error | Delete an error and all its events. |
| Delete event | Delete one event. |
| Delete project | Delete a project and all its errors and events. |
| Get error | Get an error's class, message, status, severity and counts. |
| Get event | Get one event in full: its stack trace, app, device, user, request and metadata. |
| Get latest event | Get the most recent event of an error, in full. |
| Get project | Get a project's settings, notifier API key and error counts. |
| Get release | Get a release's version, source control details, errors and stability. |
| Invite collaborator | Invite someone to an organization by email, to some projects or as an administrator. |
| List collaborators | List the people in an organization. |
| List error comments | List the comments on an error. |
| List error events | List each occurrence (event) of an error, newest first. |
| List errors | List a project's errors, optionally by status, severity, release stage or since a time. |
| List organizations | List the BugSnag organizations you belong to. |
| List project events | List the events of every error in a project, newest first. |
| List projects | List an organization's projects with their open error counts. |
| List releases | List a project's releases with the errors each introduced and its session counts. |
| Remove collaborator | Remove someone from an organization. |
| Report error | Send an error to a BugSnag project, as an app's notifier would, with the project's notifier API key. |
| Update collaborator | Change which projects a collaborator can see, or whether they're an administrator. |
| Update error | Change an error: mark it fixed, reopen or ignore it, change its severity, assign it, link or create an issue, or discard its new events. |
| Update project | Rename a project or change its settings. |
Comment on error
Add a comment to an error.
Inputs
- Project
project_idtextRequired - The project.
- Error
error_idtextRequired - The error.
- Comment
messagetextRequired - The comment.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"created_at": "example",
"id": "example",
"message": "example"
}
}Create project
Create a project in an organization.
Inputs
- Organization
organization_idtextRequired - The organization.
- Name
nametextRequired - The project's name.
- Platform
typetextRequired - The platform or framework the project reports from.One of:
android,angular,asgi,aspnet(ASP.NET),aspnet_core(ASP.NET Core),backbone,bottle,cocos2dx,connect,django, and 57 more. - Ignore old browsers
ignore_old_browserstrue/false - For JavaScript projects: ignore events from old browsers.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"api_key": "example",
"collaborators_count": 1,
"created_at": "example",
"discarded_app_versions": [
"example"
],
"discarded_errors": [
"example"
],
"for_review_error_count": 1,
"html_url": "example",
"id": "example",
"ignore_old_browsers": true,
"language": "example",
"name": "example",
"open_error_count": 1,
"organization_id": "example",
"release_stages": [
"example"
],
"resolve_on_deploy": true,
"slug": "example",
"type": "example",
"updated_at": "example"
}
}Delete comment
Delete a comment.
Inputs
- Comment ID
comment_idtextRequired - The comment's ID, from List error comments or Comment on error.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {}
}Delete error
Delete an error and all its events.
Inputs
- Project
project_idtextRequired - The project.
- Error
error_idtextRequired - The error.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {}
}Delete event
Delete one event.
Inputs
- Project
project_idtextRequired - The project.
- Event ID
event_idtextRequired - The event's ID, from List error events.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {}
}Delete project
Delete a project and all its errors and events.
Inputs
- Project
project_idtextRequired - The project.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {}
}Get error
Get an error's class, message, status, severity and counts.
Inputs
- Project
project_idtextRequired - The project.
- Error
error_idtextRequired - The error.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"assigned_collaborator_id": "example",
"comment_count": 1,
"context": "example",
"discarded": true,
"error_class": "example",
"events": 1,
"first_seen": "example",
"id": "example",
"last_seen": "example",
"message": "example",
"original_severity": "example",
"overridden_severity": "example",
"project_id": "example",
"release_stages": [
"example"
],
"severity": "example",
"status": "example",
"url": "example",
"users": 1
}
}Get event
Get one event in full: its stack trace, app, device, user, request and metadata.
Inputs
- Project
project_idtextRequired - The project.
- Event ID
event_idtextRequired - The event's ID, from List error events.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"app": {},
"context": "example",
"device": {},
"error_id": "example",
"exceptions": [
{
"errorClass": "example",
"message": "example"
}
],
"id": "example",
"metaData": {},
"received_at": "example",
"request": {},
"severity": "example",
"unhandled": true,
"url": "example",
"user": {}
}
}Get latest event
Get the most recent event of an error, in full.
Inputs
- Project
project_idtextRequired - The project.
- Error
error_idtextRequired - The error.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"app": {},
"context": "example",
"device": {},
"error_id": "example",
"exceptions": [
{
"errorClass": "example",
"message": "example"
}
],
"id": "example",
"metaData": {},
"received_at": "example",
"request": {},
"severity": "example",
"unhandled": true,
"url": "example",
"user": {}
}
}Get project
Get a project's settings, notifier API key and error counts.
Inputs
- Project
project_idtextRequired - The project.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"api_key": "example",
"collaborators_count": 1,
"created_at": "example",
"discarded_app_versions": [
"example"
],
"discarded_errors": [
"example"
],
"for_review_error_count": 1,
"html_url": "example",
"id": "example",
"ignore_old_browsers": true,
"language": "example",
"name": "example",
"open_error_count": 1,
"organization_id": "example",
"release_stages": [
"example"
],
"resolve_on_deploy": true,
"slug": "example",
"type": "example",
"updated_at": "example"
}
}Get release
Get a release's version, source control details, errors and stability.
Inputs
- Project
project_idtextRequired - The project.
- Release
release_idtextRequired - The release.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"app_version": "example",
"build_label": "example",
"builder_name": "example",
"errors_introduced_count": 1,
"errors_seen_count": 1,
"id": "example",
"project_id": "example",
"release_group_id": "example",
"release_source": "example",
"release_stage": {
"name": "example"
},
"release_time": "example",
"total_sessions_count": 1,
"unhandled_sessions_count": 1
}
}Invite collaborator
Invite someone to an organization by email, to some projects or as an administrator.
Inputs
- Organization
organization_idtextRequired - The organization.
- Email
emailtextRequired - Their email address.
- Projects
project_idslist - The projects they can see. Administrators see every project.
- Administrator
admintrue/false - Make them an administrator of the organization.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"email": "example",
"id": "example",
"name": "example"
}
}List collaborators
List the people in an organization.
Inputs
- Organization
organization_idtextRequired - The organization.
- How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"email": "example",
"id": "example",
"name": "example"
}
]
}List error comments
List the comments on an error.
Inputs
- Project
project_idtextRequired - The project.
- Error
error_idtextRequired - The error.
- Direction
directiontext - The direction to sort in. Leave empty for descending.One of:
desc(Descending),asc(Ascending). - How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"created_at": "example",
"id": "example",
"message": "example"
}
]
}List error events
List each occurrence (event) of an error, newest first.
Inputs
- Project
project_idtextRequired - The project.
- Error
error_idtextRequired - The error.
- Full details
full_reportstrue/false - Return every event in full, with its stack trace and metadata.
- Direction
directiontext - The direction to sort in. Leave empty for descending.One of:
desc(Descending),asc(Ascending). - How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
- Before
beforedate and time - Only records from before this time, for reading further back.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"app": {},
"context": "example",
"device": {},
"error_id": "example",
"exceptions": [
{
"errorClass": "example",
"message": "example"
}
],
"id": "example",
"metaData": {},
"received_at": "example",
"request": {},
"severity": "example",
"unhandled": true,
"url": "example",
"user": {}
}
]
}List errors
List a project's errors, optionally by status, severity, release stage or since a time.
Inputs
- Project
project_idtextRequired - The project.
- Status
statustext - Only errors with this status.One of:
open,in progress,for_review(For review),fixed,snoozed,ignored. - Severity
severitytext - Only errors of this severity.One of:
error,warning,info. - Release stage
release_stagetext - Only errors seen in this release stage, such as production.
- Seen since
sincedate and time - Only errors with events since this time.
- Sort by
sorttext - How to sort. Leave empty for last seen.One of:
last_seen(Last seen),first_seen(First seen),users(Users affected),events. - Direction
directiontext - The direction to sort in. Leave empty for descending.One of:
desc(Descending),asc(Ascending). - How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
- Before
beforedate and time - Only records from before this time, for reading further back.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"assigned_collaborator_id": "example",
"comment_count": 1,
"context": "example",
"discarded": true,
"error_class": "example",
"events": 1,
"first_seen": "example",
"id": "example",
"last_seen": "example",
"message": "example",
"original_severity": "example",
"overridden_severity": "example",
"project_id": "example",
"release_stages": [
"example"
],
"severity": "example",
"status": "example",
"url": "example",
"users": 1
}
]
}List organizations
List the BugSnag organizations you belong to.
Inputs
- Admin only
admintrue/false - Only organizations you're an administrator of.
- How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"auto_upgrade": true,
"billing_emails": [
"example"
],
"created_at": "example",
"id": "example",
"name": "example",
"slug": "example",
"updated_at": "example"
}
]
}List project events
List the events of every error in a project, newest first.
Inputs
- Project
project_idtextRequired - The project.
- Full details
full_reportstrue/false - Return every event in full, with its stack trace and metadata.
- Direction
directiontext - The direction to sort in. Leave empty for descending.One of:
desc(Descending),asc(Ascending). - How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
- Before
beforedate and time - Only records from before this time, for reading further back.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"app": {},
"context": "example",
"device": {},
"error_id": "example",
"exceptions": [
{
"errorClass": "example",
"message": "example"
}
],
"id": "example",
"metaData": {},
"received_at": "example",
"request": {},
"severity": "example",
"unhandled": true,
"url": "example",
"user": {}
}
]
}List projects
List an organization's projects with their open error counts.
Inputs
- Organization
organization_idtextRequired - The organization.
- Name contains
qtext - Only projects whose name contains this text.
- Sort by
sorttext - How to sort.One of:
created_at(Created). - Direction
directiontext - The direction to sort in. Leave empty for descending.One of:
desc(Descending),asc(Ascending). - How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"api_key": "example",
"collaborators_count": 1,
"created_at": "example",
"discarded_app_versions": [
"example"
],
"discarded_errors": [
"example"
],
"for_review_error_count": 1,
"html_url": "example",
"id": "example",
"ignore_old_browsers": true,
"language": "example",
"name": "example",
"open_error_count": 1,
"organization_id": "example",
"release_stages": [
"example"
],
"resolve_on_deploy": true,
"slug": "example",
"type": "example",
"updated_at": "example"
}
]
}List releases
List a project's releases with the errors each introduced and its session counts.
Inputs
- Project
project_idtextRequired - The project.
- Release stage
release_stagetext - Only releases in this release stage, such as production.
- Sort by
sorttext - How to sort. Leave empty for release time.One of:
timestamp(Release time),percent_of_sessions(Share of sessions). - How many
per_pagenumber - How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
- Before
beforedate and time - Only records from before this time, for reading further back.
Outputs
datalist- The response from BugSnag.
Example output
{
"data": [
{
"app_version": "example",
"build_label": "example",
"builder_name": "example",
"errors_introduced_count": 1,
"errors_seen_count": 1,
"id": "example",
"project_id": "example",
"release_group_id": "example",
"release_source": "example",
"release_stage": {
"name": "example"
},
"release_time": "example",
"total_sessions_count": 1,
"unhandled_sessions_count": 1
}
]
}Remove collaborator
Remove someone from an organization.
Inputs
- Organization
organization_idtextRequired - The organization.
- Collaborator
collaborator_idtextRequired - The collaborator.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {}
}Report error
Send an error to a BugSnag project, as an app's notifier would, with the project's notifier API key.
Inputs
- Project
project_idtextRequired - The project.
- Error class
error_classtextRequired - The error's class or kind, such as PaymentFailed.
- Message
messagetextRequired - What went wrong.
- Severity
severitytext - How serious it is. Leave empty for error.One of:
error,warning,info. - Release stage
release_stagetext - The release stage, such as staging. Leave empty for production.
- App version
app_versiontext - The version of your app.
- Context
contexttext - What was happening, such as a page or job name.
- User ID
affected_user_idtext - The ID of the user it happened to.
- User email
affected_user_emailtext - The email of the user it happened to.
- Metadata
metadataobject - Extra details to show with the error, in its Custom tab.
- Grouping hash
grouping_hashtext - Errors with the same grouping hash are grouped into one error.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"project_id": "example",
"sent": true
}
}Update collaborator
Change which projects a collaborator can see, or whether they're an administrator.
Inputs
- Organization
organization_idtextRequired - The organization.
- Collaborator
collaborator_idtextRequired - The collaborator.
- Projects
project_idslist - The projects they can see. Replaces their current projects.
- Administrator
admintrue/false - Make them an administrator of the organization.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"email": "example",
"id": "example",
"name": "example"
}
}Update error
Change an error: mark it fixed, reopen or ignore it, change its severity, assign it, link or create an issue, or discard its new events.
Inputs
- Project
project_idtextRequired - The project.
- Error
error_idtextRequired - The error.
- Change
operationtextRequired - What to do.One of:
fix(Mark fixed),open,ignore,override_severity(Change severity),assign(Assign to a collaborator),link_issue(Link an issue),unlink_issue(Unlink its issue),create_issue(Create an issue in the issue tracker),discard(Discard new events),undiscard(Keep new events again). - Severity
severitytext - For Change severity: the new severity.One of:
error,warning,info. - Assignee
assigned_collaborator_idtext - For Assign: who to assign it to. Leave empty to unassign.
- Organization
organization_idtext - For Assign: the organization whose collaborators to choose from.
- Issue URL
issue_urltext - For Link an issue: the issue's address.
- Issue title
issue_titletext - For Create an issue: the issue's title.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"assigned_collaborator_id": "example",
"comment_count": 1,
"context": "example",
"discarded": true,
"error_class": "example",
"events": 1,
"first_seen": "example",
"id": "example",
"last_seen": "example",
"message": "example",
"original_severity": "example",
"overridden_severity": "example",
"project_id": "example",
"release_stages": [
"example"
],
"severity": "example",
"status": "example",
"url": "example",
"users": 1
}
}Update project
Rename a project or change its settings. Only the fields filled in change.
Inputs
- Project
project_idtextRequired - The project.
- Name
nametext - The project's new name.
- Fix errors on deploy
resolve_on_deploytrue/false - Mark every error fixed when a new production deploy is reported.
- Ignore old browsers
ignore_old_browserstrue/false - For JavaScript projects: ignore events from old browsers.
- Discarded app versions
discarded_app_versionslist - App versions whose events are discarded. Replaces the current list.
- Discarded error classes
discarded_errorslist - Error classes whose events are discarded. Replaces the current list.
Outputs
dataobject- The response from BugSnag.
Example output
{
"data": {
"api_key": "example",
"collaborators_count": 1,
"created_at": "example",
"discarded_app_versions": [
"example"
],
"discarded_errors": [
"example"
],
"for_review_error_count": 1,
"html_url": "example",
"id": "example",
"ignore_old_browsers": true,
"language": "example",
"name": "example",
"open_error_count": 1,
"organization_id": "example",
"release_stages": [
"example"
],
"resolve_on_deploy": true,
"slug": "example",
"type": "example",
"updated_at": "example"
}
}