Base URL
Authentication
POST /decide, GET /rulesets, and
GET /rulesets/{id}/schema · /explain · /graph, plus
POST /rulesets/{id}/explain-failure.
Authoring endpoints (/projects/, /generate-and-test, /publish,
/guidance) require an x-api-key header and are invite-only private
beta. Call them from your server — never expose an API key to client-side
code.
Request an API key → · What each tier includes
Endpoint groups
Decision
Evaluate eligibility against a published ruleset. No auth required. Under 1ms in the engine.
POST /decideGET /rulesets/{id}/schemaGET /rulesets/{id}/explain
Projects (invite-only)
Author rules from source text using a test-driven workflow. Requires an API key from the invite-only authoring beta.
POST /projects/POST /projects/{id}/generate-and-testPOST /projects/{id}/publishPOST /projects/{id}/guidance
Rulesets
Inspect, list, and manage published rule rulesets.
GET /rulesets/GET /rulesets/{id}/schemaGET /rulesets/{id}/explainPATCH /rulesets/{id}/visibilityPOST /rulesets/{id}/archive
Rulebooks
Compose multiple section rulesets into a single rulebook with outcome logic.
POST /rulebooks/GET /rulebooks/{id}GET /rulebooks/{id}/schemaPOST /rulebooks/{id}/activatePOST /rulebooks/{id}/archive
Quick example
Response codes
422 format:
X-RateLimit-* headers, and GET /usage returns budget and usage across all classes without consuming quota.
For higher-level interfaces — CLI, MCP server, Python SDK — see Which interface?. Select an endpoint from the sidebar to view its full parameter schema and example responses.