Our syndicated offer includes two types of data sets
Default behavior: GWI Core and add-ons
When you don’t passdataset_codes, Spark defaults searching for insights within GWI Core and all of its add-on studies. This gives you the broadest possible coverage and is the right starting point for most queries.
Rule of thumb: If you’re not sure which data set to use, leave out
dataset_codes. The default (GWI Core + add-ons) has the most survey coverage of any single selection.Switching to another primary data set narrows your coverage
If you select GWI USA or GWI Kids instead of GWI Core, you’re switching to an independent primary data set with no shared respondents with GWI Core. That selection doesn’t include any add-ons, so the data universe Spark will be searching is narrower.Choose the data set with dataset_codes
In v2 you choose data sets with the dataset_codes field instead of naming them in the prompt. Take the codes from GET /v2/spark-api/datasets and pass the same dataset_codes array on every request in the chain: POST /global-filters, POST /audiences/search, POST /audiences/generate, POST /insights/generate and POST /taxonomy/explore.
To see what a data set covers before you choose it, call
POST /v2/spark-api/datasets/explore with up to five codes. See Exploring Data and Skills.
Querying a specific add-on data set directly
You don’t need to query all of GWI Core just to access an add-on. Because add-on respondents are a subset of GWI Core respondents, you can pass a specific add-on code like GWI Work or GWI Gaming indataset_codes and still apply GWI Core-based audiences in enforced_audiences.
Example: "prompts": ["gaming habits"], "dataset_codes": ["ds-gaming"]. You can still apply a saved GWI Core audience (e.g. 18-34 males) as the base, because GWI Gaming respondents are a subset of GWI Core respondents.
Saved audiences and data set compatibility
Audiences built using GWI Core data points are compatible with GWI Core and any of its add-on studies. They are not compatible with GWI USA, GWI Kids, or any other primary data set, as these have entirely separate respondent pools.audiences[].datasets in the audience responses shows where an audience is stored; do not copy it into dataset_codes.
If you pass an audience built using GWI Core with a non-compatible data set, POST /insights/generate reports the error on that prompt’s result (results[].error and results[].message) instead of returning insights.
The data set list is large
GET /v2/spark-api/datasets returns the full suite of syndicated studies you have access to in your subscription. This has practical implications:
- Context window: The full list consumes significantly more tokens. Call it once per session and reuse the result. Don’t call it on every turn.
- Filtering: Where possible, filter by category before passing the list downstream. Avoid sending the full unfiltered payload into a prompt.
- User-facing responses: When surfacing available data sets to users, group them by type (Core, add-ons, USA, Kids) rather than listing everything flat.
- No dataset access: If the caller’s subscription grants no dataset access,
GET /v2/spark-api/datasetsreturnsHTTP 200with{ "datasets": [] }rather than an error. Treat an empty response as “no datasets available for this key” and prompt the user to check their subscription with GWI.
Combining data sets: the compatibility rules
Not all data set combinations are valid in a single query. The underlying rule is: you can only combine data sets that share a respondent pool. Every code in onedataset_codes array must come from the same tree in GET /v2/spark-api/datasets.
- Add-ons can be combined with Core. Their respondents are a subset of Core.
- Primary data sets (Core, GWI USA, GWI Kids) cannot be combined with each other.
- Two add-ons cannot be combined with each other. They don’t share a direct respondent overlap.

