---
title: "List documents for a tenant"
method: GET
path: "/v1/documents"
---

# List documents for a tenant

`GET /v1/documents`

## Request

- Base URL: `https://api.clichefactory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clichefactory.com/v1/documents`
- Auth: none declared

## Query parameters

- `tenant_id` string, required
- `project_id` string, nullable
- `task_id` string, nullable
- `source` string, nullable
- `created_after` string, nullable
- `exclude_default_scope` boolean
- `limit` integer
- `offset` integer

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- DocumentListResponse
  - `tenant_id` string, required
  - `items` DocumentItem[], required
    - `document_id` string, required
    - `tenant_id` string, required
    - `project_id` string, required
    - `task_id` string
    - `file_name` string, required
    - `file_type` string, required
    - `file_uri` string, required
    - `content_sha256` string, nullable
    - `size_bytes` integer, nullable
    - `source` string, required
    - `page_count` integer, nullable
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clichefactory/apis/aio-server.md) · [All operations](https://skmtc.dev/clichefactory/apis/aio-server/llms.txt) · [OpenAPI document](https://skmtc.dev/clichefactory/apis/aio-server/revisions/9bd59f9bbb31?raw)
