Honeybadger

App · 26 actions

Report and manage Honeybadger errors: resolve, ignore, assign, snooze and comment on faults, and manage projects, check-ins and uptime sites, with triggers for new errors, outages and missed check-ins.

Actions

ActionWhat it does
Assign faultAssign a fault to a member of the project.
Create check-inCreate a check-in that alerts when a scheduled job stops reporting.
Create commentComment on a fault.
Create projectCreate a project for an application or service.
Create uptime siteStart monitoring an address for uptime.
Delete check-inDelete a check-in.
Delete commentDelete a comment from a fault.
Delete faultDelete a fault and all its notices.
Delete projectDelete a project with all its errors, uptime sites and check-ins.
Delete uptime siteStop monitoring a site and delete its history.
Get faultGet a fault's message, status, assignee and occurrence counts.
Get projectGet a project's settings, environments and error counts.
Ignore faultsIgnore faults, so new occurrences don't notify anyone.
List account membersList the people in the Honeybadger account, with the user ID a fault is assigned to.
List check-insList a project's check-ins: scheduled jobs Honeybadger expects to hear from.
List commentsList the comments on a fault.
List deploysList a project's recorded deploys, newest first.
List faultsList a project's faults (errors), optionally matching a search such as is:unresolved environment:production.
List noticesList a fault's notices (each time the error happened), newest first, with the request and context.
List projectsList the projects the token can reach, with their error counts.
List uptime sitesList the addresses a project monitors for uptime, with whether each is up or down.
Reopen faultsMark resolved faults as unresolved again.
Report errorSend an error to a Honeybadger project, as an app's notifier would, with the project's ingestion key.
Resolve faultsMark faults as resolved.
Snooze faultStop a fault notifying for a while, or for a number of occurrences.
Update projectRename a project or change its settings.

Assign fault

Assign a fault to a member of the project.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).
Assigneeassignee_idtextRequired
The person to assign it to: a member's user ID.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "action": "example",
    "assignee": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "assignee_id": "example",
    "comments_count": 1,
    "component": "example",
    "created_at": "example",
    "environment": "example",
    "id": "example",
    "ignored": true,
    "klass": "example",
    "last_notice_at": "example",
    "links": {},
    "message": "example",
    "notices_count": 1,
    "project_id": "example",
    "resolved": true,
    "snoozed": true,
    "tags": [
      "example"
    ]
  }
}

Create check-in

Create a check-in that alerts when a scheduled job stops reporting. Returns the URL the job calls.

Inputs

Projectproject_idtextRequired
The project.
Namenametext
The check-in's name.
Slugslugtext
A short name used in its reporting address, such as nightly-backup.
Scheduleschedule_typetext
How the job runs. Leave empty for every so often.One of: simple (Every so often), cron (On a cron schedule).
Reports everyreport_periodtext
For every so often: how often the job reports, such as 1 day or 30 minutes.
Grace periodgrace_periodtext
How long to wait past the expected time before alerting, such as 5 minutes.
Cron schedulecron_scheduletext
For a cron schedule: the cron expression, such as 0 3 * * *.
Time zonecron_timezonetext
For a cron schedule: the time zone as Honeybadger lists it, such as Central Time (US & Canada). Leave empty for UTC.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "created_at": "example",
    "cron_schedule": "example",
    "cron_timezone": "example",
    "expected_at": "example",
    "grace_period": "example",
    "id": "example",
    "missed_count": 1,
    "name": "example",
    "project_id": "example",
    "report_period": "example",
    "report_url": "example",
    "reported_at": "example",
    "schedule_type": "example",
    "slug": "example",
    "state": "example"
  }
}

Create comment

Comment on a fault. Mentioning a member with @ notifies them.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).
CommentbodytextRequired
The comment.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "author": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "body": "example",
    "created_at": "example",
    "event": "example",
    "fault_id": "example",
    "id": "example",
    "source": "example"
  }
}

Create project

Create a project for an application or service.

Inputs

NamenametextRequired
The project's name.
Languagelanguagetext
The project's main programming language, such as ruby, python or js.
Resolve errors on deployresolve_errors_on_deploytrue/false
Resolve every open error when a deploy is recorded. Leave empty to keep it on.
Turn off public linksdisable_public_linkstrue/false
Stop people sharing public links to errors.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "account_id": "example",
    "active": true,
    "created_at": "example",
    "disable_public_links": true,
    "environments": [
      "example"
    ],
    "fault_count": 1,
    "id": "example",
    "language": "example",
    "last_notice_at": "example",
    "links": {},
    "name": "example",
    "resolve_errors_on_deploy": true,
    "unresolved_fault_count": 1
  }
}

Create uptime site

Start monitoring an address for uptime.

Inputs

Projectproject_idtextRequired
The project.
URLurltextRequired
The address to monitor, starting with https:// or http://.
Namenametext
The site's name. Leave empty to use the address.
Up whenmatch_typetext
When the site counts as up. Leave empty for any successful status.One of: success (Any successful status (2xx)), exact (This exact status code), include (The page includes this text), exclude (The page doesn't include this text), jmespath (A JMESPath expression on the JSON matches).
Matchmatchtext
The status code, text or expression Up when compares against. Leave empty for any successful status.
Methodrequest_methodtext
The HTTP method each check sends. Leave empty for GET.One of: GET, POST, PUT, PATCH, DELETE.
Check everyfrequencynumber
How often to check. Leave empty for every 5 minutes.One of: 1 (Every minute), 2 (Every 2 minutes), 5 (Every 5 minutes), 15 (Every 15 minutes).
Locationslocationslist
Where to check from. Leave empty for every location.One or more of: Virginia, Frankfurt, Singapore, London, Oregon.
Check certificatevalidate_ssltrue/false
Fail the check when the TLS certificate isn't valid. Leave empty to keep it on.
Failures before outageoutage_thresholdnumber
Failed checks in a row before an outage is declared.At least 1.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "active": true,
    "created_at": "example",
    "frequency": 1,
    "id": "example",
    "last_checked_at": "example",
    "locations": [
      "example"
    ],
    "match": "example",
    "match_type": "example",
    "name": "example",
    "project_id": "example",
    "request_method": "example",
    "state": "example",
    "url": "example",
    "validate_ssl": true
  }
}

Delete check-in

Delete a check-in.

Inputs

Projectproject_idtextRequired
The project.
Check-incheck_in_idtextRequired
The check-in.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {}
}

Delete comment

Delete a comment from a fault.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).
Comment IDcomment_idtextRequired
The comment's ID, from List comments or Create comment.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {}
}

Delete fault

Delete a fault and all its notices.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {}
}

Delete project

Delete a project with all its errors, uptime sites and check-ins.

Inputs

Projectproject_idtextRequired
The project.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {}
}

Delete uptime site

Stop monitoring a site and delete its history.

Inputs

Projectproject_idtextRequired
The project.
Uptime sitesite_idtextRequired
The uptime site.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {}
}

Get fault

Get a fault's message, status, assignee and occurrence counts.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "action": "example",
    "assignee": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "assignee_id": "example",
    "comments_count": 1,
    "component": "example",
    "created_at": "example",
    "environment": "example",
    "id": "example",
    "ignored": true,
    "klass": "example",
    "last_notice_at": "example",
    "links": {},
    "message": "example",
    "notices_count": 1,
    "project_id": "example",
    "resolved": true,
    "snoozed": true,
    "tags": [
      "example"
    ]
  }
}

Get project

Get a project's settings, environments and error counts.

Inputs

Projectproject_idtextRequired
The project.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "account_id": "example",
    "active": true,
    "created_at": "example",
    "disable_public_links": true,
    "environments": [
      "example"
    ],
    "fault_count": 1,
    "id": "example",
    "language": "example",
    "last_notice_at": "example",
    "links": {},
    "name": "example",
    "resolve_errors_on_deploy": true,
    "unresolved_fault_count": 1
  }
}

Ignore faults

Ignore faults, so new occurrences don't notify anyone.

Inputs

Projectproject_idtextRequired
The project.
Faultsfault_idslistRequired
The faults to change.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "count": 1,
    "dry_run": true,
    "fault_ids": [
      "example"
    ]
  }
}

List account members

List the people in the Honeybadger account, with the user ID a fault is assigned to.

Inputs

How manyper_pagenumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Pagepagenumber
The page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "email": "example",
        "id": "example",
        "name": "example",
        "role": "example",
        "user_id": "example"
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

List check-ins

List a project's check-ins: scheduled jobs Honeybadger expects to hear from.

Inputs

Projectproject_idtextRequired
The project.
How manyper_pagenumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Pagepagenumber
The page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "cron_schedule": "example",
        "cron_timezone": "example",
        "expected_at": "example",
        "grace_period": "example",
        "id": "example",
        "missed_count": 1,
        "name": "example",
        "project_id": "example",
        "report_period": "example",
        "report_url": "example",
        "reported_at": "example",
        "schedule_type": "example",
        "slug": "example",
        "state": "example"
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

List comments

List the comments on a fault.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).
How manylimitnumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Older thanbeforetext
The oldest_cursor from the last page, to read older items.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "author": {
          "email": "example",
          "id": "example",
          "name": "example"
        },
        "body": "example",
        "created_at": "example",
        "event": "example",
        "fault_id": "example",
        "id": "example",
        "source": "example"
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

List deploys

List a project's recorded deploys, newest first.

Inputs

Projectproject_idtextRequired
The project.
Environmentenvironmenttext
Only deploys to this environment.
Deployed bylocal_usernametext
Only deploys by this person.
How manylimitnumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Older thanbeforetext
The oldest_cursor from the last page, to read older items.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "created_at": "example",
        "environment": "example",
        "id": "example",
        "local_username": "example",
        "project_id": "example",
        "repository": "example",
        "revision": "example"
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

List faults

List a project's faults (errors), optionally matching a search such as is:unresolved environment:production.

Inputs

Projectproject_idtextRequired
The project.
Searchqtext
A search in Honeybadger's error search syntax, such as is:unresolved or class:ArgumentError.
Sort byordertext
How to sort. Leave empty for when the fault was first seen.One of: recent (Most recent occurrence), frequent (Most occurrences).
Directionsorttext
The direction to sort in.One of: asc (Oldest or fewest first), desc (Newest or most first).
First seen aftercreated_afterdate and time
Only faults first seen after this time.
Occurred afteroccurred_afterdate and time
Only faults that occurred after this time.
Occurred beforeoccurred_beforedate and time
Only faults that occurred before this time.
How manyper_pagenumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Pagepagenumber
The page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "action": "example",
        "assignee": {
          "email": "example",
          "id": "example",
          "name": "example"
        },
        "assignee_id": "example",
        "comments_count": 1,
        "component": "example",
        "created_at": "example",
        "environment": "example",
        "id": "example",
        "ignored": true,
        "klass": "example",
        "last_notice_at": "example",
        "links": {},
        "message": "example",
        "notices_count": 1,
        "project_id": "example",
        "resolved": true,
        "snoozed": true,
        "tags": [
          "example"
        ]
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

List notices

List a fault's notices (each time the error happened), newest first, with the request and context.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).
How manylimitnumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Older thanbeforetext
The oldest_cursor from the last page, to read older items.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "backtrace": [
          {}
        ],
        "context": {},
        "created_at": "example",
        "environment": "example",
        "fault_id": "example",
        "id": "example",
        "links": {},
        "message": "example",
        "project_id": "example",
        "request": {}
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

List projects

List the projects the token can reach, with their error counts.

Inputs

Namenametext
Only the project with exactly this name.
How manyper_pagenumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Pagepagenumber
The page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "account_id": "example",
        "active": true,
        "created_at": "example",
        "disable_public_links": true,
        "environments": [
          "example"
        ],
        "fault_count": 1,
        "id": "example",
        "language": "example",
        "last_notice_at": "example",
        "links": {},
        "name": "example",
        "resolve_errors_on_deploy": true,
        "unresolved_fault_count": 1
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

List uptime sites

List the addresses a project monitors for uptime, with whether each is up or down.

Inputs

Projectproject_idtextRequired
The project.
How manyper_pagenumber
How many to return, up to 100. Leave empty for 25.From 1 to 100.
Pagepagenumber
The page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "items": [
      {
        "active": true,
        "created_at": "example",
        "frequency": 1,
        "id": "example",
        "last_checked_at": "example",
        "locations": [
          "example"
        ],
        "match": "example",
        "match_type": "example",
        "name": "example",
        "project_id": "example",
        "request_method": "example",
        "state": "example",
        "url": "example",
        "validate_ssl": true
      }
    ],
    "links": {
      "newer": "example",
      "next": "example",
      "older": "example",
      "prev": "example",
      "self": "example"
    },
    "pagination": {
      "has_newer": true,
      "has_older": true,
      "limit": 1,
      "page": 1,
      "per_page": 1
    }
  }
}

Reopen faults

Mark resolved faults as unresolved again.

Inputs

Projectproject_idtextRequired
The project.
Faultsfault_idslistRequired
The faults to change.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "count": 1,
    "dry_run": true,
    "fault_ids": [
      "example"
    ]
  }
}

Report error

Send an error to a Honeybadger project, as an app's notifier would, with the project's ingestion key.

Inputs

Projectproject_idtextRequired
The project.
Error classerror_classtextRequired
The error's class or kind, such as PaymentFailed.
MessagemessagetextRequired
What went wrong.
Environmentenvironmenttext
The environment it happened in. Leave empty for production.
Tagstagslist
Tags for the error.
Contextcontextobject
Extra details to show with the error, such as user_id and user_email.
Componentcomponenttext
Where it happened, such as a controller.
Actionsource_actiontext
What was being done, such as a method.
URLurltext
The address of the page or request involved.
Fingerprintfingerprinttext
Errors with the same fingerprint are grouped into one fault.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "id": "example",
    "project_id": "example"
  }
}

Resolve faults

Mark faults as resolved.

Inputs

Projectproject_idtextRequired
The project.
Faultsfault_idslistRequired
The faults to change.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "count": 1,
    "dry_run": true,
    "fault_ids": [
      "example"
    ]
  }
}

Snooze fault

Stop a fault notifying for a while, or for a number of occurrences. Choose one.

Inputs

Projectproject_idtextRequired
The project.
Faultfault_idtextRequired
The fault (error).
Fortimetext
How long to snooze it.One of: hour (An hour), day (A day), week (A week).
Until occurrencescountnumber
Snooze it until this many more occurrences.One of: 10, 100, 1000.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "action": "example",
    "assignee": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "assignee_id": "example",
    "comments_count": 1,
    "component": "example",
    "created_at": "example",
    "environment": "example",
    "id": "example",
    "ignored": true,
    "klass": "example",
    "last_notice_at": "example",
    "links": {},
    "message": "example",
    "notices_count": 1,
    "project_id": "example",
    "resolved": true,
    "snoozed": true,
    "tags": [
      "example"
    ]
  }
}

Update project

Rename a project or change its settings. Only the fields filled in change.

Inputs

Projectproject_idtextRequired
The project.
Namenametext
The project's new name.
Languagelanguagetext
The project's main programming language, such as ruby, python or js.
Resolve errors on deployresolve_errors_on_deploytrue/false
Resolve every open error when a deploy is recorded. Leave empty to keep it on.
Turn off public linksdisable_public_linkstrue/false
Stop people sharing public links to errors.

Outputs

dataobject
The response from Honeybadger.
Example output
{
  "data": {
    "account_id": "example",
    "active": true,
    "created_at": "example",
    "disable_public_links": true,
    "environments": [
      "example"
    ],
    "fault_count": 1,
    "id": "example",
    "language": "example",
    "last_notice_at": "example",
    "links": {},
    "name": "example",
    "resolve_errors_on_deploy": true,
    "unresolved_fault_count": 1
  }
}

On this page