AI Assistant
What the assistant has cost the organization
Changed onDollars (OpenRouter usage.cost), user messages and tokens of the last 24 hours and the last 30 days, the 30 days split by surface (showroom, backoffice, settings, backstage, <module>/studio) and by model, and the daily budget (the organization's own or the platform default) with what is spent today.
get/v3/backoffice/assistant/usage
Request
- Base URLhttps://api.rhinoartisan.com
- AuthAPI key in header apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
{today: {cost, messages, prompt_tokens, completion_tokens}, month: {…}, by_surface: [{surface, cost, messages}], by_model: [{model, cost, calls}], budget: {limit, spent_today, is_default}}
Changes
- info
endpoint added
- info