The tracked objects
Prompt — one question, phrased the way a buyer would phrase it. Prompts are the unit you pay for: your plan grants 50, 150, or 350 slots. Topic — a named group of related prompts, so you can read a whole buying question as one line instead of twenty. Model — a model surface Attensira asks, identified by a stable channel id:chatgpt, perplexity, google_ai, claude, gemini. The channel is deliberately stable, so when the vendor swaps the underlying model behind that surface, your history stays continuous.
Workspace — the container for prompts, competitors, models, automations, and data. An API key names exactly one workspace, which is why no MCP tool takes a workspace id.
Answer — one stored response from one Model to one Prompt on one day. Answers are the raw material every metric is folded from.
What we read out of an answer
Mention — the answer named your brand in its text, with no link attached. Citation — the model attached one URL, and that URL points at your own domain. Source — a domain bucket across citations. Sources cover every domain the models cite for your prompts, not only yours, so you can see which sites the answers lean on. Mentions and citations are counted independently. An answer can do either, both, or neither.The metrics
Every rate is
{value, n}. n is the number of successful runs behind it; failed runs are stored but excluded. value: null means not measured. value: 0 with n > 0 is a real, measured zero.{value, real} and pass a two-proportion z-test at 95%. Below the noise floor you get {real: false, value: null}: no change we can prove, which is not the same as no change.
Per-model figures carry tracked and readable. tracked: false means the model is not configured for this workspace and was never asked — reporting it as 0% invents a failure. readable: false means no reader exists for that surface.
The working layer
Credit — the unit spent by work that costs money to run. Adding prompts, running an automation, and asking the agent all spend credits. Reading numbers you already have does not. Automation — a saved piece of recurring work the agent performs on its own. Chat — a conversation with the agent about your workspace. Agent model — the LLM your chat runs on, listed atGET /v2/models. This is a different thing from a Model: an agent model answers you, a Model is a surface Attensira measures.
Words to wire fields
The wire format kept its original names, and this is deliberate: renaming fields would break every existing integration, so the product vocabulary changed and the contract did not. When the docs and the JSON disagree on a name, both are correct.
The same holds for enum values. The
get_analytics area enum accepts visibility, prompt, page, source, competitor, group, engine, and bot — group means Topic and engine means Model. Those strings are the contract; pass them exactly as written.