Skip to main content
GET
Get a knowledge document

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

created_at
string<date-time>
required

When the document was added (ISO 8601, UTC).

document_uuid
string
required

Unique identifier (UUID) of the document.

file_size_bytes
integer
required

Size of the original file in bytes.

filename
string
required

Original file name of the document.

is_active
boolean
required

Whether the document is available to agents. false after a permanent deletion.

mime_type
string
required

Media type of the original file, for example application/pdf.

processing_status
string
required

Where the processing of the document stands: pending, processing, completed or failed.

total_chunks
integer
required

Number of searchable chunks the document was split into.

updated_at
string<date-time>
required

When the document was last changed (ISO 8601, UTC).

agent_count
integer
default:0

Number of agents that use the document. Only filled in by the list operation; 0 elsewhere.

processing_error
string | null

Why processing failed. null unless processing_status is failed.

retrieval_mode
string
default:chunked

How agents read the document: chunked retrieves the relevant parts, full_document gives the agent the whole text.