<!-- source: https://secondlayer.tools/docs/api-reference#get-instance-metrics -->

## Operational vitals

`GET /v1/instance/metrics` (self-hosted instances only)

Process uptime, database size, the last 24 hours of webhook delivery outcomes, and rows processed per hour. A value that can't be measured comes back `null` instead of failing the request.

### Returns

One `InstanceMetrics` object.

### Responses

- `200` Current vitals.
- `400` A parameter, filter, cursor or body field was refused; `code` says which
- `401` This bind requires the instance token, and it was missing or wrong

### Example

```bash
curl http://127.0.0.1:3800/v1/instance/metrics
```

```json
{
  "uptime_s": 86400,
  "db_size_bytes": 61203865600,
  "deliveries_24h": {
    "total": 460,
    "failed": 2,
    "dlq": 0
  },
  "rows_series": [
    {
      "t": "2026-09-23 13:00:00+00",
      "rows": 3202
    }
  ]
}
```
