---
title: "Get Content Text"
method: GET
path: "/api/contents/{uuid}/text"
tags: ["contents"]
---

# Get Content Text

`GET /api/contents/{uuid}/text`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/contents/{uuid}/text`
- Auth: HTTP bearer

Retrieve the extracted text from a content's .txt file in S3.
Expected path: library/{uuid}.txt

## Path parameters

- `uuid` string, uuid, required

## Query parameters

- `bucket_name` string

## Response `200`

Successful Response

- ContentTextResponse: Response model for content text endpoint
  - `text` string, required

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
