lawforge-data-api / README.md
jonathanagustin's picture
Upload folder using huggingface_hub
fca3f00 verified
---
title: LawForge Data API
emoji: ⚖️
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: mit
datasets:
- jonathanagustin/courtlistener-1
---
# LawForge Data API
FastAPI service for querying CourtListener legal data via DuckDB.
## Endpoints
- `GET /` - API info
- `GET /health` - Health check
- `GET /rows/{config}` - Get paginated rows
- `GET /search/{config}?q=query` - Full-text search
- `GET /filter/{config}?where=clause` - SQL WHERE filter
- `GET /opinion/{id}` - Get opinion by ID
- `GET /cluster/{id}` - Get cluster by ID
- `GET /docket/{id}` - Get docket by ID
## Available Configs
- `opinions` - Court opinions
- `opinion-clusters` - Opinion metadata
- `dockets` - Case dockets
- `courts` - Court information
- `citations` - Citation data
- `people-db-people` - Judges and people
- `people-db-positions` - Positions held
- `people-db-schools` - Law schools