prompt_tokensinteger
Number of tokens the request used
completion_tokensinteger
Number of tokens the response used
total_tokensinteger
Number of tokens of (request + response)
prompt_tokens_costnumber
Cost (in $) of the prompt
completion_tokens_costnumber
Cost (in $) of the response
total_tokens_costnumber
Cost (in $) of the (request + response)
prompt_tokens_cost_savingsnumber
Cost (in $) saved in the prompt costs comparison to the benchmark model
completion_tokens_cost_savingsnumber
Cost (in $) saved in the completion costs comparison to the benchmark model
total_tokens_cost_savingsnumber
Cost (in $) saved in total, in comparison to the benchmark model
num_requestsinteger
The number of requests this Organization has performed in the current cycle
num_appsinteger
The number of active apps this Organization has
org_stripe_idstring required
The Stripe's customer ID. cus_xxxxxx
spaces_subscription_tier'INTERNAL' | 'FREE' | 'PRO' | 'TEAM' | 'ENTERPRISE'
spaces_subscription_seatsinteger nullable
The number of seats for the spaces subscription tier
spaces_subscription_status'active' | 'unpaid'
spaces_subscription_cancel_atinteger nullable
The date a subscription ends once it is cancelled
last_invoice_dateinteger required
Timestamp of last time we synced costs with Stripe. Usually coincides with the invoice.created webhook event
subscription_cycle'monthly' | 'yearly' nullable
The length of the Platform subscription cycle. Useful for upgrades and downgrades
subscription_tier'_NONE_' | '_TRIAL_' | '_INTERNAL_' | 'STARTUP' | 'GROWTH' | 'SCALE' | 'ENTERPRISE' nullable
The subscription tier this user is in.
subscription_price_idstring nullable
PRICE ID (on Stripe). The user's current Subscription ID is created from this Price
trial_endinteger nullable
The timestamp (in s) when the trial will end and the paid subscription will start. The user will be billed at this point
currency'usd'
The currency for this organization
billing_emailstring nullable
free_balancenumber nullable
If this is > 0 and the user is in a TRIAL, we will deduct the balance from here.
spending_limit_softnumber nullable
spending_limit_hardnumber nullable
org_creatorstring required
org_display_namestring nullable
address_citystring nullable
address_zipstring nullable
address_statestring nullable
address_countrystring nullable
added_onstring date-time nullable
modified_onstring date-time nullable
hubspot_idstring nullable
prom_tokenstring nullable
prom_endpointstring nullable
loki_tokenstring nullable
loki_endpointstring nullable
rate_limitinteger
The rate limit for this org, per minute