These docs are a work in progress: some pages may still be incomplete or contain inaccuracies.
fastmon Docs

API Reference

Base URL, authentication, response envelopes, and the auto-generated endpoint reference.

The fastmon REST API is the same surface the dashboard uses. The endpoint reference is auto-generated from the backend's OpenAPI document on every docs build, so it never drifts from the running service.

The API is not production-ready

Endpoints, request shapes, response shapes, field names, and error formats can change at any time without notice. There is no deprecation window and no compatibility guarantee yet.

Use the API for prototypes, internal tooling, and exploration. Don't build production systems against it. We'll cut a stable contract and announce a deprecation policy before recommending it for production use.

Cross-cutting topics

Endpoints

Pages are auto-generated per OpenAPI tag. Each operation has its own page with split-layout schema, language tabs (curl, JS, Python, Go, Java, C#), and a Try-it playground.

Base URL

https://api.fastmon.eu/v1

Public ingest endpoints (POST /c/{collector_hash} and GET /s/{source_hash}.js) live outside the /v1/ prefix and have their own contract.

Quick example

curl https://api.fastmon.eu/v1/organizations \
  -H "Authorization: Bearer fm_$YOUR_TOKEN"
{
  "data": [
    { "id": "01HZX…", "name": "Acme", "plan": "pro" }
  ],
  "meta": { "limit": 50, "offset": 0, "total": 1, "has_more": false }
}

Conventions

  • IDs are UUID v7 strings: sortable by creation time.
  • Timestamps are ISO-8601 UTC with Z: 2026-04-18T12:34:56.123456Z.
  • Single resources are returned raw; lists wrap with data + meta; errors wrap with error. See Errors.
  • Default limit is 50; max is 100 on every list endpoint.
  • X-Request-ID is on every response. Mirror it back when reporting issues.

Schema document

The raw OpenAPI document lives at api.fastmon.eu/v1/openapi.json. Drop it into your favorite generator (openapi-typescript, oapi-codegen) for a typed client.

On this page