---
title: "Estimate Scan"
method: GET
path: "/api/v1/report-ai/trend-scans/estimate"
tags: ["report-ai", "trend-scans"]
---

# Estimate Scan

`GET /api/v1/report-ai/trend-scans/estimate`

Count investigations that would be eligible for a scan with the given inputs.

Uses the same eligibility filter as the real scan loader so the modal
estimate matches what gets scanned. Returns counts only — no row loading.

## Query parameters

- `report_agent_id` string, uuid, required
- `window_start` string, date-time, required
- `window_end` string, date-time, required

## Response `200`

Successful Response

- ScanEstimateResponse
  - `eligible_count` integer, required
  - `excluded` object, required

## Other responses

- `422` — Validation Error

## Changes

> 26 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/report-ai/trend-scans/estimate/get.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/4df7b22a7dae?raw)
