Documentation menu

API reference

Stats, billing and health

View .md

Dashboard metrics, the Stripe checkout session, and the liveness probe.

Stats

Overview metrics for the dashboard.

GET/v1/stats

Dashboard overview metrics for the current user.

Auth: Dashboard JWT only

Response 200 Stats.

{
  "posts_this_month": 42,
  "connected_networks": 4,
  "total_networks": 6,
  "queue_processing": 1,
  "success_rate": 0.98
}

Billing checkout

Create a Stripe Checkout session and redirect the user to the returned URL.

POST/v1/billing/checkout

Create a Stripe Checkout session and return its hosted URL.

Auth: Dashboard JWT only

Response 200 Checkout URL.

{
  "url": "https://checkout.stripe.com/pay/…"
}

Health

Unversioned liveness probe for orchestrators and uptime checks.

GET/health

Liveness probe (unversioned). Returns ok when the API is up.

Auth: Public, no auth

Response 200 Healthy.

{
  "status": "ok"
}