API Reference

Chronicler REST API

Complete reference for the Chronicler API. Authentication, endpoints, and examples.

Base URL

https://api.chronicleraudit.com/v1
Authentication

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/decisions
Record a new decision
GET
/v1/decisions
List decisions with filters
GET
/v1/decisions/{id}
Get a specific decision
POST
/v1/policies/evaluate
Evaluate a policy
GET
/v1/policies
List all policies
POST
/v1/policies
Create a new policy
PUT
/v1/policies/{id}
Update a policy
DELETE
/v1/policies/{id}
Delete a policy
POST
/v1/proofs/generate
Generate a ZK proof
POST
/v1/proofs/verify
Verify a proof
GET
/v1/proofs/{id}
Get proof details
POST
/v1/exports
Create an export job
GET
/v1/exports/{id}
Get export status
GET
/v1/exports/{id}/download
Download export file
GET
/v1/agents
List all agents
GET
/v1/agents/{id}/metrics
Get agent metrics

SDKs

Client Libraries

Pythonv1.2.0
pip install chronicler
TypeScriptv1.2.0
npm install @chronicler/sdk