---
title: "Get page counts for a list of documents"
method: POST
path: "/v1/documents/page-count"
---

# Get page counts for a list of documents

`POST /v1/documents/page-count`

## 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/page-count`
- Auth: none declared

## Headers

- `X-API-KEY` string, nullable

## Request body

- PageCountRequest
  - `document_ids` string[], required
  - `tenant_id` string, required

## Response `200`

Successful Response

- PageCountResponse
  - `total_pages` integer, required
  - `documents` PageCountDocumentItem[], required
    - `document_id` string, required
    - `pages` integer, nullable
    - `file_name` string

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