---
title: "Stats, billing and health"
description: "Dashboard metrics, the Stripe checkout session, and the liveness probe."
section: "API reference"
url: https://dravo.dev/docs/api/stats-billing-health
---
# Stats, billing and health

## Stats

Overview metrics for the dashboard.

#### `GET /v1/stats`

Dashboard overview metrics for the current user.

**Auth:** Dashboard JWT only

Response `200`: Stats.

```json
{
  "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.

```json
{
  "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:** None

Response `200`: Healthy.

```json
{
  "status": "ok"
}
```
