Analytics
Get organization usage
Returns daily usage data aggregated across all projects in the organization.
AuthorizationBearer <token>
JWT issued by Better Auth. Verified via JWKS.
In: header
Path Parameters
org_id*string
Unique organization identifier.
Query Parameters
start_date*string
Start date (inclusive, YYYY-MM-DD).
end_date*string
End date (inclusive, YYYY-MM-DD).
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/organizations/org_abc123/usage?start_date=2024-01-01&end_date=2024-01-31"{ "usage": [ { "day": "2019-08-24", "queries_total": 0, "cache_hits": 0, "cache_misses": 0, "connection_seconds": 0, "bytes_transferred": 0 } ]}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}