List recent cases
GET /api/v1/cases returns up to 50 of your org most recently updated compliance cases - useful for dashboards or internal reporting.
Platform · REST API
When you need compliance data or analysis outside the UI, the REST API gives you a stable, key-authenticated surface to build on.
GET /api/v1/cases returns up to 50 of your org most recently updated compliance cases - useful for dashboards or internal reporting.
GET /api/v1/documents returns all org documents including content - for sync jobs, backup pipelines, or custom publishing flows.
POST /api/v1/analyze accepts title, description, and optional diff. It runs the same classification pipeline as webhooks and can link results to a case.
Create prefixed lc_ keys from the dashboard, track last used timestamps, and revoke access instantly when a integration rotates.
Analyze calls use the identical taxonomy, risk scoring, and conflict detection pipeline as GitHub, Linear, and Jira webhook events.
Each API key records who created it - helpful when auditing which internal system or teammate owns programmatic access.
Typical uses
Most teams rely on webhook integrations for continuous monitoring. The REST API shines when you need to pull state, backfill analysis, or wire Lawcel into custom internal tools.
Combine analyze calls with your own orchestration for pre-release checks - Lawcel still does not enforce merge gates.
Issue a key
Admins create API keys from settings. Keys are shown masked after creation - store the secret securely on first issue.
Call v1 endpoints
Authenticate with a Bearer token in the Authorization header. Responses are JSON.
Monitor usage
Last-used timestamps on each key help you identify stale integrations and rotate credentials proactively.
Wire Lawcel into your stack - or start with a free scan of your public legal pages.