Statsig Alerts API

The Alerts API from Statsig — 6 operation(s) for alerts.

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /console/v1/alerts List topline alerts · List Topline Alerts #
Ask an LLM
“Which topline metric alerts are configured in my project?”
“Can I page through all our alerts?”
Tell an agent
List all topline alerts.
Show alerts page {page}, {limit} per page.
POST /console/v1/alerts Create a topline alert · Create Topline Alert #
Ask an LLM
“How do I get alerted when a topline metric moves?”
“Can an alert combine several metrics with a formula?”
Tell an agent
Create a topline alert named {name} with message {message}.
Create alert {name} on metrics {definitionMetricsJson} using formula {formula}, grouped by {groupBys}.
GET /console/v1/alerts/{id} Read one topline alert · Read Topline Alert #
Ask an LLM
“What threshold and condition does a given alert use?”
“Who gets notified when a specific alert fires?”
Tell an agent
Show topline alert {id}.
Get the configuration of alert {id}.
PATCH /console/v1/alerts/{id} Update a topline alert's thresholds or routing · Update Topline Alert #
Ask an LLM
“How do I raise the threshold on an alert?”
“Can I route an alert to Slack or PagerDuty subscribers?”
Tell an agent
Set alert {id}'s threshold to {alertThreshold} and warning threshold to {warningThreshold}.
Change alert {id} to priority {priority} with an evaluation window of {windowMs} ms.
DELETE /console/v1/alerts/{id} Delete a topline alert · Delete Topline Alert #
Ask an LLM
“Can I remove an alert that keeps firing for no reason?”
“Is deleting a topline alert permanent?”
Tell an agent destructive · confirm first
Delete topline alert {id}.
Remove alert {id} from the project.
GET /console/v1/alerts/{id}/events List an alert's firing history · List Topline Alert Events #
Ask an LLM
“When has a particular alert fired in the past?”
“Can I see the history of triggers for one alert?”
Tell an agent
List the events fired by alert {id}.
Show page {page} of alert {id}'s firing history.
GET /console/v1/alerts/{id}/events/{eventId} Read one alert firing event · Read Topline Alert Event #
Ask an LLM
“What exactly happened during a specific alert firing?”
“Can I drill into a single trigger of an alert?”
Tell an agent
Show event {eventId} of alert {id}.
Get the details of firing {eventId} for alert {id}.
POST /console/v1/alerts/{id}/mute Mute a topline alert · Mute Topline Alert #
Ask an LLM
“Can I silence an alert for a few hours during a planned launch?”
“Is it possible to mute an alert only for certain group-by values?”
Tell an agent
Mute alert {id} for {durationSeconds} seconds.
Mute alert {id} indefinitely: {indefinite}.
POST /console/v1/alerts/{id}/unmute Unmute a topline alert · Unmute Topline Alert #
Ask an LLM
“How do I turn notifications back on for a muted alert?”
“Can I unmute just one group-by slice of an alert?”
Tell an agent
Unmute alert {id}.
Unmute alert {id} for group-by values {groupBys}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/statsig:statsig-alerts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

statsig-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Console Alerts API
  description: The "Console API" is the CRUD API for performing the actions offered on console.statsig.com without needing to go through the web UI.
  version: 20240601.0.0
  contact: {}
servers:
- url: https://statsigapi.net
tags:


# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/statsig/refs/heads/main/openapi/statsig-alerts-api-openapi.yml