Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Honeybadger

Scalekit connector
Open markdown

The Honeybadger connector lets your AI agent act in each user's Honeybadger account. Each user connects their own Honeybadger access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 60 tools.

Tools
60
What they doRead · write · destructive
36 · 19 · 536 read19 write5 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Honeybadger connection

    In AgentKit > Connections, create a Honeybadger connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'honeybadger'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Honeybadger:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'honeybadger_account_get',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Honeybadger credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • honeybadger_account_getGet the Honeybadger account the token belongs to.Read-only

    Get Account

    Get the Honeybadger account the token belongs to. Returns the account id, name, plan and settings. Use honeybadger_account_usage_get for usage numbers.

    Inputs

    This tool takes no inputs.

  • honeybadger_account_usage_getGet usage statistics for the account, such as error, Insights and uptime volume against the plan.Read-only

    Get Account Usage

    Get usage statistics for the account, such as error, Insights and uptime volume against the plan. Returns usage counts and plan limits for the current period. Use honeybadger_account_get for the account's name and plan.

    Inputs

    This tool takes no inputs.

  • honeybadger_alarm_getGet one Insights alarm.Read-only

    Get Insights Alarm

    Get one Insights alarm. Returns its query, evaluation schedule, trigger_config and current state. Use honeybadger_alarms_list to find the ID.

    Inputs

    alarm_idstringrequired
    ID of the Insights alarm. Get it from honeybadger_alarms_list. Example: Al3hJk.
    project_idstringrequired
    ID of the Honeybadger project, such as Xk9mZp. Get it from honeybadger_projects_list. Example: Xk9mZp.
  • honeybadger_alarm_history_listList an Insights alarm's trigger history, newest first, 25 per page.Read-only

    List Alarm History

    List an Insights alarm's trigger history, newest first, 25 per page. Returns each trigger's state, result and timestamp. Use honeybadger_alarm_get for the alarm's settings.

    Inputs

    alarm_idstringrequired
    ID of the Insights alarm. Get it from honeybadger_alarms_list. Example: Al3hJk.
    project_idstringrequired
    ID of the Honeybadger project, such as Xk9mZp. Get it from honeybadger_projects_list. Example: Xk9mZp.
    pageinteger
    Page number, starting at 1. Defaults to 1. Example: 1.
  • honeybadger_alarms_listList every Insights alarm on a project.Read-only

    List Insights Alarms

    List every Insights alarm on a project. Returns each alarm's id, name, query, trigger configuration and state. Use honeybadger_alarm_history_list for when an alarm fired.

    Inputs

    project_idstringrequired
    ID of the Honeybadger project, such as Xk9mZp. Get it from honeybadger_projects_list. Example: Xk9mZp.
  • honeybadger_check_in_events_listList a check-in's state-change events (reporting, missing, paused), newest first.Read-only

    List Check-In Events

    List a check-in's state-change events (reporting, missing, paused), newest first. Returns each event's state, created_at and reported payload, plus an older cursor link. Use this to see when a job missed its schedule.

    Inputs

    check_in_idstringrequired
    ID of the check-in monitor. Get it from honeybadger_check_ins_list. Example: Ci5xWq.
    project_idstringrequired
    ID of the Honeybadger project, such as Xk9mZp. Get it from honeybadger_projects_list. Example: Xk9mZp.
    created_beforenumber
    Only items created before this Unix timestamp (seconds, not ISO 8601). Take it from links.older; fractional seconds count. Example: 1731024000.
    limitinteger
    Maximum items to return, up to 100. Defaults to 25. Example: 25.
  • honeybadger_check_in_getGet one check-in monitor.Read-only

    Get Check-In

    Get one check-in monitor. Returns its schedule, state, report_url, reported_at and expected_at. Use honeybadger_check_ins_list to find the ID.

    Inputs

    check_in_idstringrequired
    ID of the check-in monitor. Get it from honeybadger_check_ins_list. Example: Ci5xWq.
    project_idstringrequired
    ID of the Honeybadger project, such as Xk9mZp. Get it from honeybadger_projects_list. Example: Xk9mZp.
  • honeybadger_check_ins_listList a project's check-in monitors for scheduled jobs.Read-only

    List Check-Ins

    List a project's check-in monitors for scheduled jobs. Returns each check-in's id, name, slug, schedule, state (pending, reporting, missing or paused), last report and next expected time. Use honeybadger_check_in_events_list for a check-in's history.

    Inputs

    project_idstringrequired
    ID of the Honeybadger project, such as Xk9mZp. Get it from honeybadger_projects_list. Example: Xk9mZp.
    pageinteger
    Page number, starting at 1. Defaults to 1. Example: 1.
    per_pageinteger
    Items per page. Defaults to 25. Example: 25.