# Honeybadger

> 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.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/honeybadger

## Actions

### Assign fault

Assign a fault to a member of the project.

**Inputs**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).
- Assignee (`assignee_id`, text, required): The person to assign it to: a member's user ID.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Name (`name`, text): The check-in's name.
- Slug (`slug`, text): A short name used in its reporting address, such as nightly-backup.
- Schedule (`schedule_type`, text): How the job runs. Leave empty for every so often. One of: `simple` (Every so often), `cron` (On a cron schedule).
- Reports every (`report_period`, text): For every so often: how often the job reports, such as 1 day or 30 minutes.
- Grace period (`grace_period`, text): How long to wait past the expected time before alerting, such as 5 minutes.
- Cron schedule (`cron_schedule`, text): For a cron schedule: the cron expression, such as 0 3 * * *.
- Time zone (`cron_timezone`, text): For a cron schedule: the time zone as Honeybadger lists it, such as Central Time (US & Canada). Leave empty for UTC.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).
- Comment (`body`, text, required): The comment.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Name (`name`, text, required): The project's name.
- Language (`language`, text): The project's main programming language, such as ruby, python or js.
- Resolve errors on deploy (`resolve_errors_on_deploy`, true/false): Resolve every open error when a deploy is recorded. Leave empty to keep it on.
- Turn off public links (`disable_public_links`, true/false): Stop people sharing public links to errors.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- URL (`url`, text, required): The address to monitor, starting with https:// or http://.
- Name (`name`, text): The site's name. Leave empty to use the address.
- Up when (`match_type`, text): 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).
- Match (`match`, text): The status code, text or expression Up when compares against. Leave empty for any successful status.
- Method (`request_method`, text): The HTTP method each check sends. Leave empty for GET. One of: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`.
- Check every (`frequency`, number): 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).
- Locations (`locations`, list): Where to check from. Leave empty for every location. One or more of: `Virginia`, `Frankfurt`, `Singapore`, `London`, `Oregon`.
- Check certificate (`validate_ssl`, true/false): Fail the check when the TLS certificate isn't valid. Leave empty to keep it on.
- Failures before outage (`outage_threshold`, number): Failed checks in a row before an outage is declared. At least 1.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Check-in (`check_in_id`, text, required): The check-in.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "data": {}
}
```

### Delete comment

Delete a comment from a fault.

**Inputs**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).
- Comment ID (`comment_id`, text, required): The comment's ID, from List comments or Create comment.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "data": {}
}
```

### Delete fault

Delete a fault and all its notices.

**Inputs**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "data": {}
}
```

### Delete project

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

**Inputs**

- Project (`project_id`, text, required): The project.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "data": {}
}
```

### Delete uptime site

Stop monitoring a site and delete its history.

**Inputs**

- Project (`project_id`, text, required): The project.
- Uptime site (`site_id`, text, required): The uptime site.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "data": {}
}
```

### Get fault

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

**Inputs**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Faults (`fault_ids`, list, required): The faults to change.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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 many (`per_page`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- How many (`per_page`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).
- How many (`limit`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Older than (`before`, text): The oldest_cursor from the last page, to read older items.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Environment (`environment`, text): Only deploys to this environment.
- Deployed by (`local_username`, text): Only deploys by this person.
- How many (`limit`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Older than (`before`, text): The oldest_cursor from the last page, to read older items.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Search (`q`, text): A search in Honeybadger's error search syntax, such as is:unresolved or class:ArgumentError.
- Sort by (`order`, text): How to sort. Leave empty for when the fault was first seen. One of: `recent` (Most recent occurrence), `frequent` (Most occurrences).
- Direction (`sort`, text): The direction to sort in. One of: `asc` (Oldest or fewest first), `desc` (Newest or most first).
- First seen after (`created_after`, date and time): Only faults first seen after this time.
- Occurred after (`occurred_after`, date and time): Only faults that occurred after this time.
- Occurred before (`occurred_before`, date and time): Only faults that occurred before this time.
- How many (`per_page`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).
- How many (`limit`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Older than (`before`, text): The oldest_cursor from the last page, to read older items.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Name (`name`, text): Only the project with exactly this name.
- How many (`per_page`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- How many (`per_page`, number): How many to return, up to 100. Leave empty for 25. From 1 to 100.
- Page (`page`, number): The page of results to return, starting at 1. At least 1.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Faults (`fault_ids`, list, required): The faults to change.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Error class (`error_class`, text, required): The error's class or kind, such as PaymentFailed.
- Message (`message`, text, required): What went wrong.
- Environment (`environment`, text): The environment it happened in. Leave empty for production.
- Tags (`tags`, list): Tags for the error.
- Context (`context`, object): Extra details to show with the error, such as user_id and user_email.
- Component (`component`, text): Where it happened, such as a controller.
- Action (`source_action`, text): What was being done, such as a method.
- URL (`url`, text): The address of the page or request involved.
- Fingerprint (`fingerprint`, text): Errors with the same fingerprint are grouped into one fault.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "data": {
    "id": "example",
    "project_id": "example"
  }
}
```

### Resolve faults

Mark faults as resolved.

**Inputs**

- Project (`project_id`, text, required): The project.
- Faults (`fault_ids`, list, required): The faults to change.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Fault (`fault_id`, text, required): The fault (error).
- For (`time`, text): How long to snooze it. One of: `hour` (An hour), `day` (A day), `week` (A week).
- Until occurrences (`count`, number): Snooze it until this many more occurrences. One of: `10`, `100`, `1000`.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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**

- Project (`project_id`, text, required): The project.
- Name (`name`, text): The project's new name.
- Language (`language`, text): The project's main programming language, such as ruby, python or js.
- Resolve errors on deploy (`resolve_errors_on_deploy`, true/false): Resolve every open error when a deploy is recorded. Leave empty to keep it on.
- Turn off public links (`disable_public_links`, true/false): Stop people sharing public links to errors.

**Outputs**

- `data` (object): The response from Honeybadger.

**Example output**

```json
{
  "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
  }
}
```
