---
title: "Preview Contract Term Seed"
method: GET
path: "/backfills/preview-contract-term-seed"
tags: ["internal"]
---

# Preview Contract Term Seed

`GET /backfills/preview-contract-term-seed`

Dry run for the contract-term seed backfill.

The counts are exact (computed over the whole candidate set); ``drift`` is a
sample capped at ``limit``, with ``truncated`` set when it was cut off — so a
large tenant's response stays readable without under-reporting the scale.

## Query parameters

- `limit` integer

## Response `200`

Successful Response

- ContractTermSeedPreviewResponse — Dry run for the contract-term seed backfill. Writes nothing.
  - `drift_count` integer, required
  - `truncated` boolean, required
  - `open_ended_count` integer, required
  - `end_date_in_past_count` integer, required
  - `drift` ContractTermSeedCandidate[], required
    - `contract_id` string, uuid, required
    - `company_id` string, uuid, required
    - `vendor_id` string, uuid, nullable
    - `title` string, required
    - `effective_date` string, date, nullable
    - `expiration_date` string, date, nullable
    - `auto_renews` boolean, nullable
    - `end_date_in_past` boolean

## 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)
