---
title: "Prefill Inputs"
method: GET
path: "/api/businesses/{business_id}/workbook/prefill"
tags: ["Data Cleaning"]
---

# Prefill Inputs

`GET /api/businesses/{business_id}/workbook/prefill`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/businesses/{business_id}/workbook/prefill`
- Auth: HTTP bearer

Best-guess prefill for the data cleaning input form.

## Path parameters

- `business_id` string, required

## Response `200`

Successful Response

- DataCleaningPrefill: Best-guess prefill for the data cleaning input form.
  - `company_names` string[]
  - `entities` PrefillEntity[]
    - `name` string, required
    - `aliases` string[]
    - `confidence` number
    - `matched_from` string, nullable
    - `fiscal_year_end` integer, nullable
    - `fiscal_year_label_offset` integer, nullable
  - `fiscal_year_end` integer, nullable
  - `fiscal_year_label_offset` integer
  - `start_year` integer, nullable
  - `start_month` integer, nullable
  - `end_year` integer, nullable
  - `end_month` integer, nullable
  - `notes` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
