---
title: "List documents in workspace"
method: GET
path: "/documents"
tags: ["documents"]
---

# List documents in workspace

`GET /documents`

List documents in the authenticated workspace.

Returns metadata only (no content). Use GET /documents/{id} for full content.

Pagination is cursor-based (opaque token). First request omits `cursor`;
subsequent requests pass back the prior `next_cursor`. The cursor format
changed in 0.3.0 from a raw document_id to opaque base64 — pre-0.3.0
cursors held across the migration return 400.

## Query parameters

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

## Response `200`

List of documents in the workspace

- DocumentListResponse — Response for listing documents.
  - `documents` DocumentListItem[], required
    - `id` string, uuid, required
    - `workspace_id` string, uuid, required
    - `filename` string, required
    - `content_hash` string, required
    - `size_bytes` integer, required
    - `type` 'markdown' | 'text' | 'pdf' | 'html' | 'docx' | 'pptx' | 'xlsx' | 'image', required
    - `mime_type` string, nullable
    - `conversion_status` 'not_required' | 'pending' | 'completed' | 'failed'
    - `uploaded_by_contributor_id` string, uuid, nullable
    - `author` string, nullable
    - `tags` string[]
    - `source_url` string, nullable
    - `description` string, nullable
    - `original_date` string, date-time, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `extraction_count` integer — Number of extractions performed
    - `scope_summary` object, nullable — Per-scope fact counts (own/third_party/mixed_context/unknown). None = pre-Approach-D or all-legacy. Exposed on list so callers can render summary chips without fetching each Document's full payload.
  - `next_cursor` string, nullable

## Other responses

- `400` — Cursor is malformed or in the legacy pre-0.3.0 format
- `422` — Validation Error

---

[API](https://skmtc.dev/scipot/apis/scipot-core-api.md) · [All operations](https://skmtc.dev/scipot/apis/scipot-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scipot/scipot-core-api/revisions/e8712e9ffeae/schema)
