---
title: "List Documents"
method: GET
path: "/extract/documents"
tags: ["/extract"]
---

# List Documents

`GET /extract/documents`

## Request

- Base URL: `https://api.contextual.ai/v1`
- URL: `https://api.contextual.ai/v1/extract/documents`
- Auth: HTTP bearer

List documents for structured extraction.

## Query parameters

- `limit` integer
- `cursor` string, nullable
- `search` string, nullable

## Response `200`

Successful Response

- DocumentListResponse: Response model for document listing.
  - `documents` DocumentInfoResponse[], required: List of documents
    - `document_id` string, required: Unique ID of the document
    - `file_name` string, required: Original filename
    - `file_size` integer, required: File size in bytes
    - `page_count` integer, required: Number of pages in the document
    - `uploaded_at` string, required: Timestamp when the document was uploaded
    - `status` string, required: Document status
    - `signed_url` string, nullable: Presigned download URL for the document (valid for 1 hour). Only available for GCS and S3 storage backends.
  - `total_count` integer, required: Total number of documents
  - `next_cursor` string, nullable: Next cursor to continue pagination. Omitted if there are no more documents to retrieve.
  - `prev_cursor` string, nullable: Previous cursor to go back in pagination. Omitted if this is the first page.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `4abdda722de9`: 1 info
  - endpoint added
- **2026-01-13** `ca7f807eec8b`: 1 breaking
  - api path removed without deprecation
- **2025-10-28** `c8152db45500`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/contextualai/apis/endpoints/changes/extract/documents/get.md)

---

[API](https://skmtc.dev/contextualai/apis/endpoints.md) - [All operations](https://skmtc.dev/contextualai/apis/endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/contextualai/apis/endpoints/revisions/4abdda722de9?raw)
