---
title: "Preview Sweep"
method: GET
path: "/internal/evals/rollout-consistency/preview"
tags: ["internal"]
---

# Preview Sweep

`GET /internal/evals/rollout-consistency/preview`

What a sweep would do, without starting one.

Runs the sweep's own `gather_cohort` rather than an approximation of it: a preview that
disagreed with what the sweep gathers would be worse than none, and this is the number an
operator is agreeing to when they press the button.

## Query parameters

- `company_id` string, uuid, required
- `window_days` integer

## Response `200`

Successful Response

- SweepPreview — What a sweep would do, before one is started. Exists because a sweep is expensive and irreversible in the only way that matters — it writes real marketing runs into the customer's history — so the cost is stated before the button, not discovered afterwards.
  - `company_id` string, uuid, required
  - `company_name` string, required
  - `rollout_enrolled` boolean, required
  - `window_days` integer, required
  - `collateral_in_window` integer, required
  - `collateral_considered` integer, required
  - `collateral_runnable` integer, required
  - `skipped` object, required
  - `analyses_to_run` integer, required
  - `guidelines_ready` integer, required
  - `guidelines_without_library` integer, required
  - `max_cohort` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/425d5b8a3c17/schema)
