API Reference
API Reference
Use https://api.foxora.ai for the current /v1 account, discovery, usage, and OpenAI-compatible chat-completions routes.
Overview
Use https://api.foxora.ai for the current /v1 account, discovery, usage, and OpenAI-compatible chat-completions routes.
02Authentication
Send a Foxora account access token as an HTTPS Bearer credential and validate it against /v1/me before enabling account-dependent work.
03Chat Completions API
Send an OpenAI-compatible messages payload to /v1/chat/completions using a model identifier returned by /v1/models .
04Account endpoint
Use authenticated GET /v1/me to confirm identity, plan, usage counters, and feature access for the current token.
05Usage endpoint
Use GET /v1/me/usage?days=N for recent daily usage records, and use the account or credits endpoint for current allowance windows.
06Models endpoint
Call public GET /v1/models at runtime and select an identifier from the returned list instead of assuming a fixed catalog.
07Errors and status codes
Handle Foxora API failures by HTTP status, structured error code, and x-request-id , while keeping credentials and prompt content out of logs.
08Rate limits and versioning
Treat /v1 as the current path contract and use response headers rather than hardcoded request limits.