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

# Screen for citation drift — HTTP

> Check how the citation landscape differs from a reference run.

Check how the citation landscape differs from a reference run.

**Method:** `GET`

**Path:** `/projects/{project_id}/runs/{run_id}/screen-drift`

Use the HTTP base for your authorized environment and an `Authorization: Bearer` header. See [authentication](/developers/guides/04-authentication) and [HTTP setup](/developers/guides/06-http-quickstart).

## Parameters

This table covers the standard read profile. It excludes internal application routes and advanced analysis controls.

| Name | Location | Type | Required | Default | Meaning |
| - | - | - | - | - | - |
| `project_id` | path | string | Yes | — | Project ID from list\_projects. Select the project in the intended workspace and environment. |
| `run_id` | path | string | Yes | — | Run ID from list\_runs for this project. Use the exact returned value and check readiness before reading measurements. |
| `aggregation_level` | query | string | No | `"domain"` | domain requests source-domain results; url requests individual-page results. Keep the same reporting unit when comparing measurements. |
| `group_by` | query | string | No | `null` | JSON-encoded array. Split results into rows by the requested dimensions. Check both filters\_applied.group\_by and each row’s group\_by\_values before labeling the groups. |
| `filters` | query | string | No | `null` | JSON-encoded array. Select measured answers with objects containing dimension and values. Use labels from list\_dimension\_options; inspect returned warnings for filters that were not applied. |
| `reference` | query | string | No | `null` | JSON-encoded object. Choose the comparison run: previous\_run, first\_run, or specific\_run. For specific\_run, include run\_id. The request’s run\_id is the checkpoint. |

## Request example

Set `IQRUSH_API_BASE` and `IQRUSH_ACCESS_TOKEN` through secure configuration. Replace project/run IDs and sample selections with values returned by your account. JSON objects and arrays are encoded as query strings.

```bash theme={null}
curl --fail-with-body --silent --show-error --get \
  --header "Authorization: Bearer ${IQRUSH_ACCESS_TOKEN}" \
  --header "Accept: application/json" \
  --data-urlencode aggregation_level=domain \
  --data-urlencode 'reference={"type":"previous_run"}' \
  "${IQRUSH_API_BASE%/}/projects/${IQRUSH_PROJECT_ID}/runs/${IQRUSH_RUN_ID}/screen-drift"
```

## Read the response

Returns landscape comparison data and the reference/checkpoint context. Inspect availability, warnings, and comparison fields rather than interpreting a single correlation as proof of change.

Use for cross-run comparison. `rank_correlation_resample_spread`, when supplied, is a descriptive range and not a confidence interval on the point correlation. Leave advanced analysis controls at their defaults.

### Fields to use

These selected fields explain the example and the result to preserve. Field presence depends on the response; this is not a complete response schema.

| Field | Meaning and use |
| - | - |
| `data.reference_type` | Rule used to choose the reference run. |
| `data.rows[].is_drift_detected` | Returned comparison verdict; interpret together with sufficiency and warnings. |
| `data.rows[].is_sufficient` | Whether this comparison has sufficient evidence for the reported assessment. |
| `data.rows[].insufficient_reason` | Explanation when sufficient evidence is not available; null when no reason is supplied. |
| `data.rows[].n_domains_compared` | Number of source entries included in the comparison’s scope. |

Selected response fields from IQRush Dev. Lists are shortened and project/run IDs are placeholders; this is not the full response.

```json theme={null}
{
  "data_ready": true,
  "data": {
    "reference_type": "previous_run",
    "aggregation_level": "domain",
    "rows": [
      {
        "is_drift_detected": true,
        "is_sufficient": true,
        "insufficient_reason": null,
        "n_domains_compared": 175
      }
    ]
  }
}
```

Read the actual returned scope, counts, and interval levels before interpreting these fields.

MCP equivalent: [`screen_drift`](/developers/tools/screen_drift). Use the parameters and defaults on this page for HTTP.

## If the result is unavailable

Check HTTP status and the response’s `error` field before using data. A successful empty response does not establish a zero value. Preserve `not_available`, `not_available_reason`, `unavailable_reason`, and `linked` where returned. [Errors and recovery](/developers/guides/13-errors) shows observed examples.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.