---
title: "List Source Documents"
method: GET
path: "/api/businesses/{business_id}/workbook/source-documents"
tags: ["Data Cleaning"]
---

# List Source Documents

`GET /api/businesses/{business_id}/workbook/source-documents`

## 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/source-documents`
- Auth: HTTP bearer

List financial docs with resolved internal/external roles for include/exclude UI.

Returns every cleaning candidate with no exclusions applied so the client
can toggle files and send ``excluded_document_ids`` on the next run.

## Path parameters

- `business_id` string, required

## Response `200`

Successful Response

- SourceDocumentsResponse
  - `documents` SourceDocumentItem[], required
    - `id` string, required
    - `file_name` string, required
    - `document_subtype` string, nullable
    - `role` string, required
    - `supersedes_document_id` string, nullable

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