---
title: "List library documents"
method: GET
path: "/api/v1/businesses/library/documents"
tags: ["business-library"]
---

# List library documents

`GET /api/v1/businesses/library/documents`

## Request

- Base URL: `https://api.izap.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.izap.ai/api/v1/businesses/library/documents`
- Auth: HTTP bearer

Returns the library documents and videos of the authenticated user's business, newest first, paged with `limit` and `offset`.

## Query parameters

- `limit` integer
- `offset` integer

## Headers

- `business-id` string, nullable, required: Business UUID whose library is targeted. Required when the user has more than one business.

## Response `200`

Successful Response

- BusinessLibraryDocumentListResponse: Paginated list of library documents and videos (newest first). Same row shape as the image listing — the two differ in which document types they carry, not in what is known about one — but a distinct model so the OpenAPI schema names the collection for what it holds.
  - `documents` BusinessLibraryImageOut[], required
    - `id` string, uuid, required
    - `business_id` string, uuid, nullable, required
    - `filename` string, required
    - `original_filename` string, required
    - `content_type` string, required
    - `document_type` string, required
    - `file_size` integer, required
    - `url` string, required
    - `title` string, nullable
    - `description` string, nullable
    - `tags` string[], nullable
    - `uploaded_by_user_id` string, uuid, nullable
    - `created` string, date-time, required
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required
  - `has_next` boolean, required

## Other responses

- `401`: Missing or invalid credentials.
- `403`: The credential is valid but not authorized for this action.
- `404`: The resource, or the business named in the request, does not exist.
- `422`: Validation Error
- `default`: Unexpected error.

---

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