Skip to main content
POST
Get all queries

Headers

x-project-id
string
required

Project ID to specify the project context

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 500
page
integer
default:1
Required range: x >= 1

Body

application/json
query
string

Free-text search filter applied to the query text. Performs a case-insensitive partial match against the query name.

Example:

"climate change"

languages
enum<string>[]

Filter queries by language. Accepts one or more supported language codes; only queries matching any of the provided codes are returned.

Available options:
en,
es,
fr,
pt,
de,
it,
tr,
nl,
pl,
sq,
ar,
hy,
az,
ba,
eu,
be,
bn,
bho,
bs,
bg,
yue,
ca,
zh-cn,
hr,
cs,
da,
et,
fo,
fi,
gl,
ka,
el,
gu,
hi,
hu,
id,
ga,
ja,
jv,
kn,
ks,
kk,
kok,
ko,
ky,
lv,
lt,
ru,
mk,
mai,
ms,
mt,
cmn,
mr,
mwr,
nan,
ro-MD,
mn,
cnr,
ne,
no,
or,
ps,
fa,
pa,
raj,
ro,
sa,
sat,
sr,
sd,
si,
sk,
sl,
sv,
uk,
ur,
uz,
vi,
cy,
wuu,
th
Example:
countries
enum<string>[]

Filter queries by country. Accepts one or more supported country codes; only queries matching any of the provided codes are returned.

Available options:
AD,
AE,
AF,
AG,
AL,
AM,
AO,
AR,
AT,
AU,
AZ,
BA,
BB,
BD,
BE,
BF,
BG,
BH,
BI,
BJ,
BN,
BO,
BR,
BS,
BT,
BW,
BZ,
CA,
CD,
CF,
CG,
CH,
CI,
CL,
CN,
CM,
CO,
CR,
CV,
CY,
CZ,
DE,
DJ,
DK,
DM,
DO,
DZ,
EC,
EE,
EG,
ER,
ES,
ET,
FI,
FJ,
FM,
FR,
GA,
GB,
GD,
GE,
GH,
GM,
GN,
GQ,
GR,
GT,
GW,
GY,
HK,
HN,
HR,
HT,
HU,
ID,
IE,
IL,
IN,
IQ,
IS,
IT,
JM,
JO,
JP,
KE,
KG,
KH,
KI,
KM,
KR,
KW,
KZ,
LA,
LB,
LC,
LI,
LK,
LR,
LS,
LT,
LU,
LV,
LY,
MA,
MC,
MD,
ME,
MG,
MH,
MK,
ML,
MM,
MN,
MR,
MT,
MU,
MV,
MW,
MX,
MY,
MZ,
NA,
NE,
NG,
NI,
NL,
NO,
NP,
NR,
NZ,
OM,
PA,
PE,
PG,
PH,
PK,
PL,
PS,
PT,
PW,
PY,
QA,
RO,
RS,
RW,
SA,
SB,
SC,
SD,
SE,
SG,
SI,
SK,
SL,
SM,
SN,
SO,
SR,
SS,
SV,
SZ,
TD,
TG,
TH,
TJ,
TL,
TM,
TN,
TO,
TR,
TT,
TV,
TW,
TZ,
UA,
UG,
US,
UY,
UZ,
VA,
VN,
VU,
WS,
YE,
ZA,
ZM,
ZW
Example:
types
enum<string>[]

Filter queries by type. Accepts one or more types; only queries matching any of the provided types are returned. Untyped queries are excluded when this filter is set.

The type of question the query asks: "comparative" (compares options), "informative" (seeks facts or how-to information) or "perception" (probes opinions about a brand).

Available options:
comparative,
informative,
perception
hasRecurrenceSetting
boolean

Filter queries by whether they are linked to a recurrence setting. true returns only linked (recurring) queries; false returns only unlinked queries.

Example:

false

recurrenceSettingIds
string[]

Filter to queries that are EITHER unassigned (no recurrence setting) OR linked to one of the given recurrence setting ids. Omit to apply no such filter.

Example:
tagIds
number[]

Filter queries by associated tag identifiers. Returns queries linked to any of the provided tag IDs.

Example:
tagGroupIds
string[]

Filter queries by tag group IDs. Returns queries linked to any tag filed under a selected group. Combines with tagIds as a union.

Example:
tagNames
string[]

Filter queries by associated tag names. Performs a case-insensitive match and returns queries linked to any of the provided tag names.

Example:
sort
object[]

Sorting options for the result set. Each entry specifies a field and direction. Sortable fields are "query" and "updatedAt". Defaults to sorting by query ascending.

Example:

Response

page
object
required
results
object[]