Skip to main content
GET
Get a document's text

Authorizations

Authorization
string
header
required

An organization API key created in the Klatt console, sent as Authorization: Bearer <key>. The key belongs to one organization.

Path Parameters

document_uuid
string
required

Unique identifier (UUID) of the knowledge document.

Response

Successful Response

document_uuid
string
required

Unique identifier (UUID) of the document.

filename
string
required

Original file name of the document.

full_text
string
required

The text of the document as your agents receive it.

used_by
object[]
required

The agents that use this document.

edited
boolean
default:false

Whether the text was edited after it was extracted.

needs_review
boolean
default:false

Whether the extraction flagged the text for a human check.

restored
boolean
default:false

Whether the text was restored to the extracted original after an edit.

review_reasons
string[]

Why the text should be reviewed, when needs_review is true.

token_count
integer | null

Approximate size of the text in tokens, when known.