Docs
DocumentationQuery ReferenceAPI Reference
Open Console→→
DocumentationQuery ReferenceAPI Reference

Platform overview

What is Axiom?QuickstartArchitectureFeatures
Fundamentals
Datasets
Edge deployments
Limits
Performance
Optimize usage
Requirements
Semantic conventions
Glossary
Tour
SecurityRoadmap

Send data

Reference architecturesMethods

Understand data

Console
Query
Builder
Editor
Query results
Visualize
Traces
Metrics
Correlations
Save queries
Stream
Dashboard
Create
Elements
Create
Configure
Element types
Gauge
Heatmap
Log stream
Monitor list
Note
Pie chart
Scatter plot
Statistic
Table
Time series
Sections
Configure
Filter
Monitor
Overview
View status
Configure
Examples
Monitor types
Anomaly
Match
New values
Threshold
Alerting
Overview
Configure
Notifier types
Amp
ChatGPT Workspace Agent
Claude Code
Cursor
Custom Webhook
Discord
Email
incident.io
Jira Service Management
Microsoft Teams
Opsgenie
PagerDuty
Slack
Annotations
Command Menu
Manage
Datasets
Overview
Views
Virtual fields
Access
RBAC
Tokens
CLI
Organization
Labels
Audit log
Settings
Usage and billing
Profile
Extend
Overview
AWS Lambda
AWS PrivateLink
Cloudflare Workers
Cloudflare Logpush
Convex
Grafana
Hex
Netlify
Supabase
Supabase metrics
Tailscale
Terraform
Unkey
Vercel
Intelligence
Overview
Spotlight
AI agents
Overview
MCP Server
Overview
Tools
Query cost limits
Agent-created orgs
Skills
Overview
Axiom alerting
Build dashboards
Control costs
SRE
Translate SPL to APL
Splunk
Overview
Splunk app
Install and configure
Commands
Traces
Examples
Portal
How it works
Set up standard mode
Set up transparent mode
Observability Cloud
OCSF data
OCSF as CIM
SPL command support
Examples
Monitor and troubleshoot

Use cases

ObservabilityProduct analytics
OCSF security data
Overview
Send data
Query data
LLM observability
Overview
Use Vercel AI SDK
Manual instrumentation
OpenAI Agents SDK
GenAI attributes
Redaction policies

Miscellaneous

LLMs
Overview
List of docs pages
Full docs
Query reference
FAQs
Legal
Acceptable use policy
Axiom for Startups terms
Committed use terms
Cookies
Data processing
HIPAA
Partner agreement
Partner program guide
Privacy policy
SLA
Terms of service
Terms of use
Understand data/Console

Claude Code notifier

This page explains how to create and configure a Claude Code notifier.

Use a Claude Code notifier to send monitor alerts to a Claude Code routine.

To create a Claude Code notifier, follow these steps:

  1. Create a Claude Code routine with an API trigger. For more information, see the Claude Code documentation.
  2. In the routine prompt, tell Claude Code to investigate the alert in the routine-fire-payload block.
  3. In Axiom, click Notifiers in the sidebar.
  4. Click New notifier.
  5. Name your notifier.
  6. Click Claude Code.
  7. In Routine ID, enter the ID between /routines/ and /fire in the routine’s fire URL.
  8. In Claude Code bearer token, enter the token of the API trigger.
  9. Click Create.

Alert content

When a monitor alerts, Axiom sends the agent one text message that contains the following:

  • The name and type of the monitor, and whether the alert opened or closed.
  • A link to the monitor in Axiom.
  • The APL or MPL query of the monitor, and a link that opens the query in Axiom over the time range of the alert.
  • The value that gave rise to the alert, the time range of the query, and the time of the notification.
  • The description and the labels of the monitor.
  • For match monitors and new values monitors, the matching event or the row of the query results that holds the new value.
  • The group keys and values if the query of the monitor groups by a non-time field.

Write the instructions of the agent to start from this message. For example, tell the agent to run the query, compare the time range of the alert with the hour before it, and then look for the cause in your code.

To let the agent query Axiom during the investigation, connect the agent to the Axiom MCP server.

Axiom truncates messages longer than 65,000 characters. The query and the links come before the event data, so a truncated message still contains them.

Was this page helpful?
Suggest edits on GitHub
PreviousChatGPT Workspace Agent notifierNextCursor notifier
On this page
Alert content