Skip to Content
GuidesQueries

Queries

A query is a question a shopper could ask an AI assistant — « best carbon gravel bike under €3,000 ». Skoup asks every enabled query of a market to every model, several times, at each weekly sampling, then reads which brands and products the answers recommend. The panel of queries is what the brand’s visibility is measured on.

A query belongs to one market and is written in that market’s language; there is no parent query translated per market. Only enabled queries are asked. A paid plan has no query limit: each cycle measures the queries in the panel’s order as long as the included amount, the balance and pay-as-you-go cover them; the others are not measured that cycle. Only the trial (10 queries) and a contract that sets one have a quota.

Statuses of a query

enableddisabled
Disabling a query stops measuring it from the next sampling and lowers what the panel costs; its history is kept.

I want to…

I want to…Call
List the queries of a market, with their visibilityGET /v1/brands/{brand}/queries?market=FR
List only the enabled onesGET /v1/brands/{brand}/queries?enabled=true
Read one queryGET /v1/brands/{brand}/queries/{query}
Add a query to the panelPOST /v1/brands/{brand}/queries (text, market, category)
Stop measuring a queryPATCH /v1/brands/{brand}/queries/{query} with enabled: false
Know what the panel costs a month, weekly and dailyGET /v1/brands/{brand}/queries/cost (queries to simulate another number)
Know how many slots are left (trial, capped contract)The Skoup-Quota-Queries header of any queries call, absent without a limit

Scopes: queries:read, queries:write. Events: none of its own — the new measurements arrive with sampling.completed.

Scenario: push the questions your support team hears

curl -X POST https://api.skoup.ai/v1/brands/br_034PJIMnN3EOTCU3TMUdLS/queries \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc" \ -H "Idempotency-Key: support-faq-2026-09-23-12" \ -H "Content-Type: application/json" \ -d '{"text":"vélo gravel léger pour bikepacking","market":"FR","category":"Gravel"}'

The query is measured from the next weekly sampling. To know whether the panel fits in the month before pushing many, read GET /v1/brands/{brand}/queries/cost?queries=200: monthly_cost, covered (the included amount), beyond and measured_queries, in euro cents.

Pitfalls

  • A query the balance does not cover is not measured, without an error: the sampling carries queries_enabled (the queries enabled when it started) next to queries_count (those measured). The first ones of the panel go first.
  • A quota only exists during the trial or with a capped contract: it counts enabled queries on all markets, and once reached creating or enabling a query answers 422 quota_exceeded.
  • The market must be activated on the brand, or the call answers 422 parameter_invalid on market.
  • A new query has no visibility yet: its visibility block stays empty until a sampling asked it.
Last updated on