---
title: "List documents"
method: GET
path: "/ai/documents/list"
tags: ["AI - Documents"]
---

# List documents

`GET /ai/documents/list`

List all AI documents

## Query parameters

- `uuid` string, uuid, required — Document identifier.
- `limit` string — Maximum number of documents to return.
- `offset` string — Number of documents to skip.

## Response `200`

Successful response

- object
  - `documents` object[], required — List of documents.
    - `uuid` string, required
    - `workspaceUuid` string, required
    - `userUuid` string, required
    - `title` string, nullable, required
    - `content` string, required
    - `kind` 'text' | 'code' | 'sheet' | 'image', required
    - `createdAt` string, required
    - `deletedAt` string, nullable, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/revisions/1d5a19e01d83/schema)
