---
title: "Dataset facets: record_type + scope distributions"
method: GET
path: "/categories"
---

# Dataset facets: record_type + scope distributions

`GET /categories`

## Request

- Base URL: `https://ai-law-tracker.com/api/v1`
- URL: `https://ai-law-tracker.com/api/v1/categories`
- Auth: one of:
  - none
  - API key in header `X-API-Key`
  - HTTP bearer

## Response `200`

Category facets ({ record_types[], scopes[] } of { value, count }).

## Other responses

- `503`: Backend unavailable

---

[API](https://skmtc.dev/ai-law-tracker/apis/ai-law-tracker-public-laws-api.md) · [All operations](https://skmtc.dev/ai-law-tracker/apis/ai-law-tracker-public-laws-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ai-law-tracker/apis/ai-law-tracker-public-laws-api/revisions/25403268a853?raw)
