Axiom MCP by usefulapi
v1.2.1Run APL queries; read datasets, monitors and dashboards; add chart annotations in Axiom.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
axiom_list_datasets List datasets
List the datasets this token can read, with their edge deployment, retention and labels. Good first call to find dataset names and ids. Axiom API: GET /v2/datasets.
axiom_get_dataset Get dataset
Get one dataset: its name, kind, retention, edge deployment and labels. Axiom API: GET /v2/datasets/{dataset_id}.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset id (from axiom_list_datasets). |
axiom_list_dataset_fields List dataset fields
List the fields (columns) of one dataset with their types. Use it before writing an APL query. Axiom API: GET /v2/datasets/{dataset_id}/fields.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset id (from axiom_list_datasets). |
axiom_query Run APL query
Run an APL (Axiom Processing Language) query on this account's edge deployment and return the rows as a table. Example: ['app-logs'] | where status >= 500 | summarize count() by bin_auto(_time). Results over 150,000 characters are cut. Axiom API: POST /v1/query/_apl?format=tabular on the edge host.
| Parameter | Type | Description |
|---|---|---|
apl * | string | APL query text. Quote dataset names in brackets, for example ['app-logs'] | limit 20. |
startTime * | string | Start of the time range, RFC 3339 or relative such as now-1h. |
endTime | string | End of the time range (default now). |
axiom_list_monitors List monitors
List the monitors (alerts) in this organization with their queries, thresholds and state. Axiom API: GET /v2/monitors.
axiom_get_monitor Get monitor
Get one monitor: its query, thresholds, schedule and notifiers. Axiom API: GET /v2/monitors/{id}.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | Monitor id (from axiom_list_monitors). |
axiom_get_monitor_history Get monitor history
List the notifications sent or the runs of one monitor in a time range. Axiom API: GET /v2/monitors/{id}/history.
| Parameter | Type | Description |
|---|---|---|
endTime * | string | End of the range, RFC 3339 (required by Axiom). Must not be before startTime. |
monitor_id * | string | Monitor id (from axiom_list_monitors). |
startTime * | string | Start of the range, RFC 3339 (required by Axiom). |
kind | string | Item kind to list (default notification). |
axiom_list_dashboards List dashboards
List the dashboards in this organization. Axiom API: GET /v2/dashboards.
axiom_get_dashboard Get dashboard
Get one dashboard by its uid, including its charts and queries. Axiom API: GET /v2/dashboards/uid/{uid}.
| Parameter | Type | Description |
|---|---|---|
uid * | string | Dashboard uid (from axiom_list_dashboards). |
axiom_list_saved_queries List saved queries
List the saved (starred) APL queries of this organization. Axiom API: GET /v2/apl-starred-queries.
axiom_list_annotations List annotations
List chart annotations (deployments, incidents and other marked events), optionally by dataset and time range. Axiom API: GET /v2/annotations.
| Parameter | Type | Description |
|---|---|---|
datasets | array | Only annotations on these dataset names. |
end | string | Only events before this RFC 3339 time (needs start). |
start | string | Only events after this RFC 3339 time (needs end; range up to 100 days). |
axiom_create_annotation Create annotation
Mark an event (for example a production deployment) on the charts of the given datasets. Adds a new annotation each call; it does not change existing ones. Axiom API: POST /v2/annotations.
| Parameter | Type | Description |
|---|---|---|
datasets * | array | Dataset names where the annotation appears on charts. |
type * | string | Event type, for example production-deployment. |
description | string | What the event is. |
endTime | string | End of the event, if it has a duration. |
time | string | When the event happened (default: now). Cannot be in the future. |
title | string | Short title shown on the chart. |
url | string | Related link, for example a pull request. |