Skip to main content

Account API

The Account API provides usage metering, API key management, and billing information for authenticated ZIDs.

Endpoints

GET /api/account/usage

Get current usage stats for the authenticated account.

curl https://www.zeq.dev/api/account/usage \
  -H "Authorization: Bearer YOUR_API_KEY"

Response: { "computations": { "used": 7, "limit": 10, "period": "day" }, "chat": { "used": 3, "limit": 10 } }

GET /api/account/keys

List all API keys for the authenticated account.

POST /api/account/keys

Create a new API key.

DELETE /api/account/keys/:id

Revoke an API key.

GET /api/account/dashboard

Full account dashboard data including usage history, key list, and billing status.

Free Tier Limits

Every ZID gets 10 computations/day and 10 AI chat messages/day at no cost. Usage resets daily at midnight UTC.

Related

Billing & Usage · Auth API · Compute API