mocop
Browse · Docs · Guide · Analyze

Oberhahn Analytics API

API by Oberhahn · rest

Local-first AI-spend monitoring: ingest usage events from any tool, then summarize, forecast and budget the spend — attributed to the issue, team, model and source it came from. Authentication Every documented endpoint except the Install snippets requires an organization token. - Bearer token (bearerAuth) — send Authorization: Bearer <token>. The token may be a local mock dev token, a Clerk session JWT, or an org-scoped oak_ API key. Reads and aggregates are scoped to the token's organization. - Session cookie (sessionCookie) — after signing in, the browser dashboard and account pages authenticate with the oberhahn_session cookie instead of a bearer header. Rate limiting Requests are rate limited per organization in independent traffic classes: ingest writes (POST /v0/events, /v0/ingest/*, /v0/import/*, /v0/webhooks/*, /v1/logs — default 1200 requests/minute), proxied LLM gateway traffic (/v0/gateway/*, /v1/<token>/* — default 600/minute), exporter…

Verification: observed. Source: crawl.

Capabilities (105)

  • Receive a Stripe webhook event
  • Dashboard SPA (Alerts screen) or alert rows JSON
  • Aggregated overview metrics (JSON) or the dashboard SPA
  • Download OBERHAHN for Linux
  • OBERHAHN for Linux auto-update feed
  • Download OBERHAHN for Mac
  • OBERHAHN for Mac auto-update feed
  • Download OBERHAHN for Windows
  • OBERHAHN for Windows auto-update feed
  • Install index — every capture method
  • Installer or config for one capture method
  • Uninstaller for one capture method
  • Self-update fingerprint for one capture method
  • List the organization's currently open sessions
  • Mark a session open or ended (session liveness)
  • List the AI-linking analyzer's verdicts
  • Run the AI-linking analyzer now
  • Accept or reject an AI link
  • One copilot turn streamed as Server-Sent Events
  • Whether the in-app copilot is available to this organization
  • Detect spend anomalies vs a trailing baseline
  • Current plan trial and subscription state + the checkout catalog
  • Create a hosted Stripe Checkout session for the Pro plan
  • Change the organization's plan
  • Undo a scheduled cancel-at-period-end
About · Contact · Privacy