> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Handler for GET /api/v1/kb/snapshot

> **Required scope:** read

**Required scope:** `read`

### Query parameters

**as\_of** `string` *required*

RFC3339 timestamp for snapshot reconstruction

### Response

`SnapshotResponse`

**snapshot** `KBSnapshot` *required*

**KBSnapshot**

**as\_of** `string (date-time)` *required*

**entity\_count** `integer` *required*

**events\_applied** `integer` *required*

**rule\_count** `integer` *required*

**triple\_count** `integer` *required*

### Status codes

| Code | Meaning |
| - | - |
| `200` | Point-in-time KB snapshot |
| `400` | Invalid timestamp |
| `401` | Unauthorized — missing or invalid credentials |
| `403` | Forbidden — the key/token lacks the required scope |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |

```bash cURL theme={null}
curl --request GET \
  --url 'https://api.nsr.stateset.com/api/v1/kb/snapshot' \
  --header "X-API-Key: $STATESET_NSR_API_KEY"
```

```json 200 theme={null}
{
  "snapshot": {
    "as_of": "2026-08-31T14:22:05Z",
    "entity_count": 1,
    "events_applied": 1,
    "rule_count": 1,
    "triple_count": 1
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.