Schemas
PassthroughObject
ChatMessage
roleText, or an array of content parts (text, image_url, …).
nametool_call_idChatCompletionRequest
modelModel slug from GET /v1/models (a model with mode chat).
streamStream server-sent events. stream_options.include_usage is forced on.
max_tokensOutput limit; lowered automatically when your credit can't cover it.
max_completion_tokensOutput limit (preferred over max_tokens when both are set); lowered automatically when your credit can't cover it.
temperaturetop_pnNumber of choices; each is reserved and billed.
seedpresence_penaltyfrequency_penaltyFunction tools. Provider-hosted tools (web search, code interpreter, MCP, …) are refused.
parallel_tool_calls{"type":"json_object"} or a json_schema.
reasoning_effortlow, medium or high on models with supports_reasoning.
logprobstop_logprobsChatCompletion
idobjectcreatedmodelResponsesRequest
modelText, or a list of input items (input_text, input_image, …). Must not be empty.
instructionsstreammax_output_tokensOutput limit; lowered automatically when your credit can't cover it.
{"effort": "low"} on reasoning models.
tool_choicetemperaturetop_pprevious_response_idOnly ids of responses previously returned to your own account.
storeMessagesRequest
modelAny chat model slug; dated Claude names map to the catalog slug.
max_tokensRequired by Anthropic SDKs; lowered automatically when your credit can't cover it.
System prompt; text blocks may carry cache_control (kept for claude* models).
streamtemperaturetop_pstop_sequencesClient tools with name, description, input_schema.
{"type": "auto" | "any" | "none" | "tool", "name"?, "disable_parallel_tool_use"?}
{"type": "enabled", "budget_tokens": N} or {"type": "adaptive"}; used on reasoning models only.
AnthropicMessage
idtyperolemodelthinking, text and tool_use blocks.
stop_reasonstop_sequenceEmbeddingsRequest
modelAn embedding model (mode embedding).
One text or a list of texts. Must not be empty.
dimensionsShorter vectors, where the model supports it.
encoding_formatDecisionsRequest
modelThe text to judge, or messages with input_text parts.
Questions of type predicate, choice (with choices) or score (with levels). Answers come back in the same order.
SystemOneRequest
modelstateThe text or state to judge.
Named questions, each {"type": "noul" | "choice" | "score", "instructions": …}.
Model
slugThe id to send as model.
namedescriptionowned_bycontext_lengthprompt_price_nanoInput price, nano-USD per 1M tokens.
completion_price_nanoOutput price, nano-USD per 1M tokens.
cache_read_price_nanoCached-input price, nano-USD per 1M tokens; null = same as the input price.
createdUnix seconds when the model was added.
modeWhich endpoints the model works on.
supports_reasoningAccepts reasoning_effort (thinking).
supports_visionAccepts image input.
OpenAIModel
idobjectcreatedowned_bynamedescriptioncontext_lengthsupports_reasoningsupports_visionmodeUSD per token, as decimal strings with 12 decimals.
OpenAIModelList
objectAnthropicModelList
has_morefirst_idlast_idSessionToken
tokenSession token (JWT, valid 7 days). Send as Authorization: Bearer <token>.
VerificationRequired
verification_requiredemailMfaChallenge
tokenThe mfa_token for /api/auth/mfa/setup and /api/auth/mfa/verify (43 characters, valid 10 minutes).
setupTrue when the user has no 2FA yet and must enrol first (admins).
MfaSetupInfo
secretBase32 secret in groups of 4 characters, for manual entry.
otpauth_uriotpauth://totp/… URI.
qr_svgSVG markup of the QR code for otpauth_uri.
accountThe user's email.
issuerThe site name.
EmailRequest
emailturnstile_tokenCloudflare Turnstile response, when enabled.
AuthMethods
email_passwordEmail/password sign-in is enabled.
registrationNew accounts can sign up.
googleGoogle sign-in is configured and enabled.
turnstile_site_keyCloudflare Turnstile site key when the security check is on; then send turnstile_token on login, register, resend-verification and forgot-password.
Me
idemailnameis_adminbalance_nanoCredit balance in nano-USD (1 USD = 1,000,000,000). Includes credit currently reserved by in-flight requests as already spent.
mfa_enabledTwo-factor authentication is set up.
has_passwordCan sign in with a password (Google-only accounts can't).
google_linkedcreated_atNotificationPrefs
low_balance_alertlow_balance_threshold_nanoCustom threshold in nano-USD; null uses the default.
default_threshold_nanoThe default threshold (1 USD = 1000000000).
Branding
site_namesite_urlicon_urlVersioned path such as /api/branding/icon?v=3; null = use the built-in logo.
timezoneIANA time zone for usage dates and charts.
ApiKeyRequest
namecredit_limit_nanoSpend cap in nano-USD (per budget period, if set). null = no cap beyond the account balance.
budget_periodResets the key's spend each period (in the site time zone). Requires credit_limit_nano.
allowed_modelsModel slugs this key may use. null or empty = all models.
expires_atMust be in the future.
allowed_ipsIP addresses or CIDR ranges (203.0.113.7, 10.0.0.0/8, 2001:db8::/32). null or empty = any address.
rpm_limitRequests per minute for this key, up to the account limit. null = the default per-key limit.
max_parallelRequests in progress at once for this key.
redact_secretsMask credentials (API keys, tokens, …) found in prompts before they are sent to the provider.
ApiKey
idnamekey_prefixMasked key for display, e.g. sk-****abcd.
credit_limit_nanoSpend cap in nano-USD.
usage_nanoSpend in nano-USD in the current budget period (or ever, without a period).
allowed_modelsexpires_atallowed_ipsrpm_limitmax_parallelbudget_periodbudget_reset_atWhen the current budget period ends.
redact_secretslast_used_atcreated_atUsageLog
idmodel_slugprovider_slugapi_key_namenull for playground requests.
prompt_tokenscompletion_tokenscached_tokenscost_nanoBilled cost in nano-USD (0 for failed requests).
latency_msttft_msTime to first token (streamed requests).
tpsOutput tokens per second, measured from the first token when streamed.
status_codestreamedsourcecreated_atUsageLogDetail
idupstream_idThe provider's response id.
model_slugprovider_slugapi_key_namesourcestreamedstatus_codefinish_reasonprompt_tokenscompletion_tokenscached_tokenscache_write_tokensreasoning_tokenscost_nanoBilled cost in nano-USD.
cost_breakdownCost split in nano-USD.
latency_msttft_mstpsGeneration parameters and counts (e.g. stream, temperature, max_tokens, messages count, tools count, endpoint), never content.
error_typee.g. insufficient_credits, model_not_found, model_not_allowed, invalid_request, rate_limited, upstream_unavailable, stream_interrupted, or the provider's error type.
error_messageclient_ipuser_agentstarted_atcreated_atWhen the request finished.
UsageSummary
bucketTop 50 models by cost.
DailyUsage
dayrequeststokensPrompt + completion tokens.
cost_nanonano-USD.
BillingConfig
enabledTop-ups can be created.
idr_per_usdRupiah per 1 USD of credit.
min_topup_idrmax_topup_idrpayment_methodTopup
order_idamount_idrAmount paid, whole Rupiah.
credit_nanoCredit added when paid, nano-USD.
statuspayment_link_urlHosted payment page.
payment_codeQRIS payload to render as a QR code.
paid_atcreated_atRedemption
codecredit_nanonano-USD.
created_atAffiliate
enabledWhen false, no other field is present.
codeThe user's referral code (8 characters).
linkSign-up link: <site>/register?ref=<code>.
commission_percentcommission_monthsreferee_bonus_percentreferralsUsers who signed up through the link.
paying_referralsReferrals that earned the user a commission.
earned_nanoTotal commission earned, nano-USD.
Latest 50 rewards.