API Reference
Chronicler REST API
Complete reference for the Chronicler API. Authentication, endpoints, and examples.
Base URL
https://api.chronicleraudit.com/v1Authentication
All API requests require authentication via Bearer token in the Authorization header.
curl -X GET "https://api.chronicleraudit.com/v1/decisions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Method
Endpoint
Description
POST
/v1/decisionsRecord a new decision
GET
/v1/decisionsList decisions with filters
GET
/v1/decisions/{id}Get a specific decision
POST
/v1/policies/evaluateEvaluate a policy
GET
/v1/policiesList all policies
POST
/v1/policiesCreate a new policy
PUT
/v1/policies/{id}Update a policy
DELETE
/v1/policies/{id}Delete a policy
POST
/v1/proofs/generateGenerate a ZK proof
POST
/v1/proofs/verifyVerify a proof
GET
/v1/proofs/{id}Get proof details
POST
/v1/exportsCreate an export job
GET
/v1/exports/{id}Get export status
GET
/v1/exports/{id}/downloadDownload export file
GET
/v1/agentsList all agents
GET
/v1/agents/{id}/metricsGet agent metrics
SDKs
Client Libraries
Pythonv1.2.0
pip install chroniclerTypeScriptv1.2.0
npm install @chronicler/sdk