{"openapi": "3.1.0", "info": {"title": "Audit Ledger API", "version": "1.0.0", "description": "Audit Ledger records who did what in your systems and agents in a log that shows tampering. The plans action returns the same tiers the pricing page shows, including the free logging tier.", "contact": {"url": "https://empireaudit.eliteaiempire.com/agents"}}, "servers": [{"url": "https://empireaudit.eliteaiempire.com"}], "paths": {"/v1/plans": {"get": {"operationId": "auditledger_plans", "summary": "List the Audit Ledger plans and prices", "description": "Returns each plan with its monthly price in US dollars (null means contact sales), taken from the same data file the pricing page is built from.", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://empireaudit.eliteaiempire.com/pricing"}}}, "/v1/about": {"get": {"operationId": "auditledger_about", "summary": "What Audit Ledger does and what is free", "description": "What Audit Ledger does and what is free", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://empireaudit.eliteaiempire.com/pricing"}}}, "/v1/pricing": {"get": {"operationId": "auditledger_pricing", "summary": "Where prices live and what costs nothing", "description": "Where prices live and what costs nothing", "tags": ["actions"], "x-scope": "read", "x-free": true, "security": [{}, {"bearerKey": []}], "responses": {"200": {"description": "Success", "content": {"application/json": {"schema": {"type": "object"}}}}, "400": {"description": "Bad input", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}, "x-pricing": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://empireaudit.eliteaiempire.com/pricing"}}}, "/v1/usage": {"get": {"operationId": "usage_get", "summary": "Usage for the calling key (last 30 days)", "tags": ["account"], "x-scope": "read", "security": [{"bearerKey": []}], "responses": {"200": {"description": "Usage counters", "content": {"application/json": {"schema": {"type": "object", "properties": {"key_id": {"type": "string"}, "calls": {"type": "integer"}, "by_operation": {"type": "object", "additionalProperties": {"type": "integer"}}}}}}}, "401": {"description": "Missing, unknown or revoked key", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "Key lacks the required scope", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "429": {"description": "Rate limit hit; see Retry-After", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}, "headers": {"Retry-After": {"schema": {"type": "integer"}}, "X-RateLimit-Limit": {"schema": {"type": "integer"}}, "X-RateLimit-Remaining": {"schema": {"type": "integer"}}}}}}}}, "components": {"securitySchemes": {"bearerKey": {"type": "http", "scheme": "bearer", "description": "API key. Free-tier operations also work without a key (rate limited)."}}, "schemas": {"Error": {"type": "object", "required": ["error"], "properties": {"error": {"type": "object", "required": ["code", "message"], "properties": {"code": {"type": "string"}, "message": {"type": "string"}}}}}}}, "x-rate-limits": {"free": {"requests_per_minute": 10, "requests_per_day": 200}, "keyed": {"requests_per_minute": 120}}, "x-pricing": {"currency": "USD", "summary": "The plan and price list is free without a key, up to 200 calls a day per IP. Keyed volume pricing is published at https://empireaudit.eliteaiempire.com/pricing.", "default": {"unit": "call", "price_usd": 0, "free_quota": "200 per day per IP", "note": "Keyed volume pricing is published at https://empireaudit.eliteaiempire.com/pricing"}}}