---
title: "Retrieve documents"
method: GET
path: "/v1/documents"
tags: ["Documents"]
---

# Retrieve documents

`GET /v1/documents`

Retrieve all documents in your workspace

## Query parameters

- `userId` string
- `size` number
- `page` number
- `sort` 'LAST_UPDATED' | 'OLDEST_UPDATED' | 'ALPHABETICAL' | 'REVERSE_ALPHABETICAL' | 'NEWEST_CREATED' | 'OLDEST_CREATED'
- `name` string
- `statuses` string[]
- `createdAtStart` string
- `createdAtEnd` string

## Response `200`

Retrieve all documents

- DocumentResponse[]
  - `requestId` string
  - `resource` string
  - `data` DocumentsData[]
    - `id` string, required — The unique identifier of the document
    - `content` string, required — The content of the document
    - `createdAt` string, date-time — The creation date of the document
    - `updatedAt` string, date-time — The last updated date of the document
    - `name` string, required — The name of the document
    - `status` string, required — The status of the document
    - `userId` string, required — The user Id associated with the workspace
    - `projectId` string — The ID of the project the document is associated with, if any. Documents created before project association was supported may have this field empty.

## Other responses

- `401` — Unauthorized. User is not a member of the workspace.
- `404` — Not found. May have an incorrect URL path.
- `500` — Internal server error. Unable to get documents.

---

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