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

# Get run web search queries

> Return web search queries used by LLM models for a specific analysis run.

Returns prompts (id and text) with per-response web search queries. Optionally filter by prompt and/or LLM names.

### Path parameters

<ParamField path="runId" type="string" required>
  Run UUID.
</ParamField>

### Query parameters

<ParamField query="prompt_id" type="string">
  Optional prompt UUID filter. Alias: `promptId`.
</ParamField>

<ParamField query="llm" type="string">
  Optional LLM name filter. Repeat the param or pass a comma-separated list. Alias: `llm_names`.
</ParamField>

### Request

```bash theme={null}
curl -s \
  -H "x-api-key: YOUR_API_KEY" \
  "https://app.rocketblue.ai/api/v1/runs/RUN_ID/web-search-queries?llm=chatgpt,perplexity"
```

### Response

<ResponseField name="run" type="object">
  Run id, brandId, and startedAt.
</ResponseField>

<ResponseField name="filters" type="object">
  Applied `promptId` and `llmNames` filters.
</ResponseField>

<ResponseField name="summary" type="object">
  Counts of prompts, responses, and queries in the result.
</ResponseField>

<ResponseField name="prompts" type="array">
  Each prompt includes `id`, `text`, and `responses[]` with `analysisResultId`, `llm`, and `webSearchQueries`.
</ResponseField>

```json theme={null}
{
  "run": {
    "id": "run-uuid-123",
    "brandId": "brand-uuid-123",
    "startedAt": "2026-07-20T00:00:00.000Z"
  },
  "filters": {
    "promptId": null,
    "llmNames": ["chatgpt", "perplexity"]
  },
  "summary": {
    "promptCount": 2,
    "responseCount": 4,
    "queryCount": 9
  },
  "prompts": [
    {
      "id": "prompt-uuid-123",
      "text": "Best AI visibility platforms",
      "responses": [
        {
          "analysisResultId": "result-uuid-123",
          "llm": "chatgpt",
          "webSearchQueries": ["best ai visibility tools 2026"]
        }
      ]
    }
  ]
}
```
