Skip to main content
POST
List Fanout Search Queries

Authorizations

X-API-Key
string
header
required

Query Parameters

project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

Body

project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

limit
integer
default:1000
Required range: 1 <= x <= 10000
offset
integer
default:0
Required range: 0 <= x <= 9007199254740991
start_date
string<date>
default:2026-01-01

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Example:

"2025-09-22"

end_date
string<date>
default:2026-01-01

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Example:

"2025-09-22"

filters
object[]

Filter results by specific fields. Multiple filters are AND'd together. The queries, terms and brands views take model_channel_id, topic_id, prompt_id and tag_id with in (tag_id also has_all).

Deprecated: use model_channel_id filter instead

Example:
view
enum<string>
default:rows

rows: one row per web search query a chat issued (default). queries: each distinct fanout query with its occurrences. terms: two-word terms with their occurrences, change against the previous period and share of all fanouts. brands: brands named inside fanout queries, by the chats naming them.

Available options:
rows,
queries,
terms,
brands
Example:

"terms"

terms
string[]

Only count fanout queries containing at least one of these terms, case-insensitively. In the terms view, report these terms instead of the top two-word terms. Ignored by the rows view.

Maximum array length: 20
Minimum string length: 1
Example:
dimensions
enum<string>[]

Group the aggregated views. queries: prompt_id, topic_id, model_channel_id. terms: model_channel_id and one of date, week (Monday) or month (first day); with no terms given, the ten top terms are broken down. brands takes none.

Available options:
prompt_id,
topic_id,
model_channel_id,
date,
week,
month
Example:
movement
enum<string>

Terms view only, without dimensions. top ranks by occurrences (default). trending and losing need the term in both periods and rank by change. new lists terms absent from the previous period. The previous period is the same number of days ending the day before start_date.

Available options:
top,
trending,
losing,
new
Example:

"trending"

Response

200 - application/json

Response for status 200

The rows view

data
object[]
required
total_count
number
required

Total number of matching search queries, ignoring pagination

Example:

42

totalCount
number
required
deprecated

Total number of matching search queries, ignoring pagination

Example:

42