DOCUMENTATION

Ai Adit API

Use your client token in the Authorization header.

Authorization: Bearer aa_live_...

Claim keys

POST /api/v1/keys/claim
{"provider":"anthropic","count":1}

Usage events

POST /api/v1/usage/events
{"event":"usage","leaseId":"lea_...","model":"claude-sonnet-5","inputTokens":1000,"outputTokens":200}

Billing

Usage is accepted first and reconciled asynchronously. Incomplete events can be completed from the console.

English