> ## 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.

# Get detailed knowledge base statistics

> Return basic KB statistics. **Required scope:** read

Return basic KB statistics.

**Required scope:** `read`

### Response

No response body. Knowledge-base statistics for the org: entity/triple/rule counts, type breakdowns.

### Status codes

| Code | Meaning |
| - | - |
| `200` | Knowledge-base statistics for the org: entity/triple/rule counts, type breakdowns |
| `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/stats' \
  --header "X-API-Key: $STATESET_NSR_API_KEY"
```


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