Skip to main content
GET
Get a document by ID

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

id
string
required

Document ID

Response

Document details

_id
string

Document ID

clientUID
string

Client UID

projectId
string | null

Project ID the document is scoped to

name
string

Document name

fileName
string

File name (with extension)

fileType
enum<string>

File type

Available options:
md,
pdf,
txt,
docx
mimeType
string

MIME type

size
integer

File size in bytes

status
enum<string>

Processing / indexing status

Available options:
pending,
ready,
failed
markdownContent
string

Markdown content (for markdown documents)

summary
string

Auto-generated summary

tokenCount
integer

Token count

currentVersion
integer

Current version number

folderId
string | null

Folder ID the document is filed in

parentDocumentId
string | null

Parent document ID (for subdocuments referenced via @ mentions)

createdByUserUID
string

UID of the user that created the document

creationTimestampMs
integer<int64>

Creation timestamp (ms)

lastEditTimestampMs
integer<int64>

Last edit timestamp (ms)