Get billing information
Changed onReturns credits remaining, current billing-cycle credits used, balance expiry, and subscription status for an organization. Credits used comes from the current billing-cycle aggregate and may lag usage by up to 30 minutes. When called with an organization-scoped API key, the org is taken from the key. When called with a user session or OAuth bearer, pass organization_id as a query parameter — the caller must be an admin of that organization.
Request
- Base URLhttps://api.cekura.ai
- URLhttps://api.cekura.ai/test_framework/billing/info/
- Auth
- API key in header X-CEKURA-API-KEY
- or HTTP bearer
- or HTTP bearer
Query parameters
Tenant scope. Supply one of organization_id when authenticating with a user session or OAuth bearer token; omit when using an API key already scoped to the tenant.
Response
Changes
- breaking
the
////response's property type changed from no type toobjectfor status - info
the endpoint scheme security
oauth2was added to the API - info
the endpoint scheme security
supabase_sessionwas added to the API - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status
- breaking