> ## Documentation Index
> Fetch the complete documentation index at: https://api.globalwebindex.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 4: Ask a follow up question

> Reuse the audience and filters, or get the details behind an insight

v2 has no `chat_id`. Context is carried by the IDs and codes you already have, so a follow-up is a new request that reuses them.

## Ask a new question for the same audience

Call `POST /v2/spark-api/insights/generate` again with new prompts and the same `enforced_audiences`, `location_codes` and `wave_codes`. You do not need to create the audience again.

```bash Request theme={null}
curl -X POST "https://api.globalwebindex.com/v2/spark-api/insights/generate" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "prompts": ["reasons for not buying an electric car"],
    "enforced_audiences": ["00000000-0000-4000-8000-000000000001"],
    "location_codes": ["s2_44"],
    "wave_codes": ["q1_2025"]
  }'
```

The response has the same shape as in [Step 3](https://api.globalwebindex.com/docs/spark-api/v2/getting-started/insight.md).

## Change the location or timeframe

Send the names from the previous response in `current_filters` and say in `prompt` whether to add to them or replace them:

```json theme={null}
{
  "prompt": "append Canada",
  "current_filters": { "location_names": ["UK"], "wave_names": ["Q1 2025"] }
}
```

Pass the new `location_codes` and `wave_codes` on the next audience and insights requests.

## Get insight details

Pass an insight ID from `results[].insights[].id` to get the sources and the statistics for each answer.

```bash Request theme={null}
curl "https://api.globalwebindex.com/v2/spark-api/insights/00000000-0000-4000-8000-000000000101" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json Response theme={null}
{
  "id": "00000000-0000-4000-8000-000000000101",
  "title": "GWI Insight",
  "text": "20% of Gen Z car owners and future purchasers say an electric vehicle enhances their style and status, making them 150% more likely to cite this advantage than the average car owner or future purchaser.",
  "is_simulated": false,
  "metadata": {
    "timeframe_groups": [
      {
        "group": "2025 (Q1)",
        "details": {
          "description": "2025 (Q1)",
          "timeframes": [
            {
              "id": "q1_2025",
              "name": "Q1 2025"
            }
          ]
        }
      }
    ],
    "audiences": [
      {
        "id": "00000000-0000-4000-8000-000000000001",
        "title": "Generation: Gen Z",
        "description": "This audience consists of individuals who are part of Gen Z.",
        "is_simulated": false
      }
    ],
    "location_groups": [
      {
        "group": "Europe",
        "details": {
          "description": "Europe",
          "locations": [
            {
              "id": "s2_44",
              "name": "UK"
            }
          ]
        }
      }
    ],
    "datasets": [
      {
        "id": "ds-core",
        "title": "GWI Core",
        "description": "Our primary data set on the attitudes and behaviors of digital consumers",
        "url": "https://help.globalwebindex.com/en/collections/11937099-gwi-core",
        "is_simulated": false
      },
      {
        "id": "ds-gwi-automotive",
        "title": "GWI Automotive",
        "description": "Our data set focused on car attitudes, influences and the car purchase journey, among car owners and future purchasers.",
        "url": "https://help.globalwebindex.com/en/articles/10725979-understanding-gwi-automotive",
        "is_simulated": false
      }
    ],
    "attributes": [
      {
        "question": "What do you think are the main advantages of owning an electric vehicle? Please select up to three options that most apply",
        "answer": "I believe that owning an electric vehicle is advantageous because it is more environmentally-friendly.",
        "percentage": 40,
        "sample": 100,
        "universe_size": 1000000,
        "index": 110,
        "is_simulated": false
      },
      {
        "question": "What do you think are the main advantages of owning an electric vehicle? Please select up to three options that most apply",
        "answer": "I believe owning an electric vehicle enhances my style and status.",
        "percentage": 20,
        "sample": 50,
        "universe_size": 500000,
        "index": 250,
        "is_simulated": false
      }
    ]
  }
}
```

In `metadata.attributes[]`:

| Field | Meaning |
| :- | :- |
| `percentage` | Share of the audience that gave this answer |
| `sample` | Number of respondents |
| `universe_size` | Estimated number of internet users in the audience who gave this answer |
| `index` | Likelihood compared with all internet users; 100 is average, 110 means 10% more likely |
| `is_simulated` | `true` when this answer is based on simulated data |
