Skip to main content
Ask Analytics is a chat assistant in the dashboard (bottom-right). Ask anything about your usage; it runs real, org-scoped queries and renders the result as a chart you can pin.
"how many calls today?"
"what did we spend this week, by model?"
"which workflow has the highest error rate?"
"alert me when cost goes over $50/day"

How it works

  • An LLM with a fixed toolbox of analytics functions.
  • It never sees your org_id — the server pins it from your session before any tool runs, so the model can only query your data.
  • Results are capped; secrets are never returned.
  • Runs on a fast routed model (DeepSeek-V4-Flash by default) through Orbitrage’s own gateway, so its calls show up in your analytics too.

What it can do

These tools act on your own organization only.
ToolAnswers
count_callsHow many calls in a range, filtered by model/provider/workflow/user/tool.
sum_costTotal spend, baseline, and savings.
time_seriesA metric over time (calls / cost / errors / tokens) for plotting.
tool_call_volumeHow often function-tools were invoked.
list_models / list_end_users / list_workflows / list_toolsLeaderboards by traffic or spend.
detect_anomaliesMAD-based anomaly detection on a daily series.
node_driftPer-step drift (tokens, latency, refusal rate) within a workflow.
list_chatbot_sessionsWhat’s been asked recently (UI + MCP), which tools fired, any errors.

Pinned charts & history

  • Pin any chart to the Customise page, where it re-renders live by replaying the query. Toggle bar / line / donut / table.
  • History is kept per org in your browser. Switching orgs keeps conversations separate; “New chat” clears just that org’s history.

Everywhere, not just the dashboard

The same toolbox is available from:
  • Slack@Orbitrage or /orbitrage, with chart images.
  • The MCP server — Claude Desktop, VS Code, or Cursor.
Every turn (UI or MCP) is logged for your own audit via list_chatbot_sessions.