Dates, time zone and filters
Every report endpoint speaks the same filter language. Once you have learned it, whatever you write in the visibility report you write the same way in the citation report.
Date range
Section titled “Date range”The range is given with two parameters and both ends are inclusive.
| Parameter | Type | Format | Default |
|---|---|---|---|
date_from | string | YYYY-MM-DD | Last 30 days |
date_to | string | YYYY-MM-DD | Today |
period | string | last_7d, last_30d, last_90d, mtd, qtd, ytd | none |
If you use period you do not send date_from and date_to; sending both together returns
400 invalid_parameter.
?date_from=2026-07-01&date_to=2026-07-31?period=last_30dThe date of a measurement day is not the day the run finished, it is the day assigned to
that run in the runs table. In the database this column is called date_iso and holds a
YYYYMMDD value; the API converts it to an ISO 8601 date and returns it in the date field.
Time zone
Section titled “Time zone”The default is UTC. All timestamps are returned in ISO 8601 with a Z suffix:
2026-08-27T09:12:44Z.
| Parameter | Type | Description |
|---|---|---|
timezone | string | IANA time zone name, for example Europe/Istanbul. It only shifts day boundaries |
The only thing that changes when you pass timezone is the moment at which daily buckets start
and end. The timestamps that come back are still UTC; converting them on the client side is
your job. This separation is kept on purpose, because two teams reading the same data from two
different time zones should see the same row.
Where it matters most is the AI traffic report: server logs are accurate to the second, and
choosing Europe/Istanbul shifts a daily bucket by three hours relative to UTC.
Dimensions
Section titled “Dimensions”Dimension filters take comma separated multiple values and work with or logic. Between different dimensions the logic is and.
| Parameter | Type | Accepted values | Source |
|---|---|---|---|
brand_id | UUID | A brand in your organization | brands.id |
platform | string | chat_gpt, gemini, claude, perplexity, aimode | answers.platform |
topic | string | Topic key, for example hediyelik, plus _other | topics.key |
topic_id | UUID | Topic id | topics.id |
prompt_type | string | brand, non-brand | prompts.type |
intent | string | information, recommendation, comparison, purchase, price, usage, brand, trust | prompts.intent |
prompt_id | UUID | A single prompt | prompts.id |
region | string | ISO 3166-1 alpha-2, for example TR, GB, DE | brands.country_iso |
language | string | ISO 639-1, for example tr, en | brands.language |
persona | UUID | Persona id | On the roadmap |
Topic keys are written in the language the brand is measured in, which is why the example above is Turkish; the parameter itself behaves the same in every language.
Platform values are the system’s keys, not the labels shown in the interface. The mapping is:
| Key | Name in the interface |
|---|---|
chat_gpt | ChatGPT |
gemini | Gemini |
claude | Claude |
perplexity | Perplexity |
aimode | Google AI Mode |
Region and language are brand level
Section titled “Region and language are brand level”region and language are not dimensions that vary inside a measurement. A brand is set up
with one market and one language; both live on the brands table. In practice these two
filters are therefore a shorthand for “which brands in the organization should be reported”,
and they are redundant once you pass brand_id. If you want to track the same brand in two
markets, the right way is a second brand record; the reasoning is explained on the
market, language and persona page.
Persona is a re-reading, not a filter
Section titled “Persona is a re-reading, not a filter”Filter syntax
Section titled “Filter syntax”# single value?platform=perplexity
# multiple values, or logic: ChatGPT or Perplexity?platform=chat_gpt,perplexity
# different dimensions, and logic: non-branded prompts, on Perplexity only?platform=perplexity&prompt_type=non-brand
# all together?brand_id=8f14a0c2-5b7e-4a91-9d33-6c2e10b4f7a5&period=last_30d&timezone=Europe/Istanbul&platform=chat_gpt,gemini&topic=hediyelik,kurumsal&prompt_type=non-brandRules:
- An unknown parameter is not ignored, it is an error. If you write
platfrom=geminithe response is400 unknown_parameter. Silent ignoring is what makes you take a wrong number for a right one. - An unknown value is an error. A call with
platform=copilotreturns400 invalid_parameterwithplatformin theerror.fieldfield. - An empty result is not an error. If the filter is valid but no row matches, you get
200and an emptydataarray. - Values must be URL encoded. Topic keys carrying non-ASCII characters and values with a
slash in them, such as
Europe/Istanbul, have to be encoded.
Sorting and pagination
Section titled “Sorting and pagination”sort, limit and cursor work the same way in every list and are described on the
response format page. The filter set and the cursor are bound
together: if you use a cursor with a different filter set you get
400 cursor_filter_mismatch.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| The numbers differ from the dashboard | The date range and platform filter selected in the dashboard differ from the ones in the API call | Use the same date_from, date_to and platform values on both sides |
| Daily buckets are shifted by one day | timezone was not passed, so the day was split on UTC | Add timezone=Europe/Istanbul |
| The topic filter returns nothing | The topic label was written instead of the key | Use the topics.key value, not the label shown in the interface |
| Prompts without a topic disappear | Prompts with no topic are collected under the _other key | Add _other to the filter or drop the topic filter |
400 cursor_filter_mismatch | The filter changed between pages | When using a cursor, repeat every filter from the first call exactly |
feedback.question
feedback.thanks