<!-- source: https://secondlayer.tools/docs/api-reference#subgraph-health-object -->

## The Subgraph health object

Hourly health buckets and the newest 24 hours' handler errors.

| Field | Type | Description |
| --- | --- | --- |
| `hours` | array of object | One bucket per hour, oldest first. |
| `errors24h` | integer | Handler errors across the newest 24 hours. |

```json
{
  "hours": [
    {
      "hour": "2026-10-16T13:00:00.000Z",
      "lagBlocks": 0,
      "rowsWritten": 1840,
      "errors": 0,
      "eventsHandled": 2213
    }
  ],
  "errors24h": 0
}
```
