HarborHarbor
DocumentationGuidesPlugins
All plugins

Axiom API

Query datasets, monitors, and account state via the Axiom REST API

APICategory: observabilityPopularity 60axiom_api

Query datasets, monitors, and account state via the Axiom REST API

Install

hrbr plugins install axiom-api

Harbor calls https://api.axiom.co/v2 (driven by the upstream OpenAPI spec).

Quick start

hrbr exec 'return await axiom_api.get({ /* see schema */ })'

Or from a Function:

import { defineOrbitJob } from "@hrbr/orbit";

export default defineOrbitJob({
  name: "axiom-api-example",
  handler: async (ctx) => {
    return await ctx.plugins.axiom_api.list({ limit: 5 });
  },
});

Tools

Tools are generated from the upstream OpenAPI spec. Inspect with:

hrbr plugins tools axiom-api

Or open the dashboard plugin page for the live tool list.