---
title: "Get a version's text"
method: GET
path: "/documents/{document_id}/versions/{version}/content"
tags: ["Versions"]
---

# Get a version's text

`GET /documents/{document_id}/versions/{version}/content`

## Request

- Base URL: `https://app.jitprompt.com`
- URL: `https://app.jitprompt.com/documents/{document_id}/versions/{version}/content`
- Auth: HTTP bearer

The text of one kept version (for a PDF or Word file, the extracted
text), as `text/markdown`.

## Path parameters

- `document_id` string, required
- `version` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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