billing

Get Billing

Return tier, usage totals, over-limit flag, and Stripe customer id if any.

Args: agent: Authenticated agent from Supabase.

Returns: Billing status for the current agent.

get/v1/billing

Request

  • Base URL: https://api.lithtrix.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.lithtrix.ai/v1/billing
  • Auth: none declared

Headers

authorizationstring nullable

Response

Successful Response

tierstring required
calls_totalinteger required
call_limitinteger nullable required
over_limitboolean required
payment_processorstring nullable
payment_customer_idstring nullable
payment_method_savedboolean
recharge_consent_idstring nullable
memory_ops_this_monthinteger
memory_ops_limitinteger nullable
memory_storage_bytesinteger
blob_embed_storage_bytesinteger
combined_memory_storage_bytesinteger
memory_storage_limit_bytesinteger
search_calls_this_monthinteger
search_calls_limitinteger nullable
search_calls_remaininginteger nullable
search_overage_rate_per_callnumber nullable
blob_storage_bytesinteger
blob_storage_limit_bytesinteger
parse_ops_this_monthinteger
parse_ops_lifetimeinteger
parse_ops_limitinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.