v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
beta.libraries.documents

Retrieve the metadata of a specific document.

Given a library and a document in this library, you can retrieve the metadata of that document.

get/v1/libraries/{library_id}/documents/{document_id}

Path parameters

library_idstring uuid required
document_idstring uuid required

Response

Successful Response

idstring uuid required
library_idstring uuid required
hashstring nullable required
mime_typestring nullable required
extensionstring nullable required
sizeinteger nullable required
namestring required
summarystring nullable
created_atstring date-time required
last_processed_atstring date-time nullable
number_of_pagesinteger nullable
process_status'self_managed' | 'missing_content' | 'noop' | 'done' | 'todo' | 'in_progress' | 'error' | 'waiting_for_capacity' required
uploaded_by_idstring uuid nullable required
uploaded_by_typestring required
tokens_processing_main_contentinteger nullable
tokens_processing_summaryinteger nullable
urlstring nullable
attributesobject nullable
expires_atstring date-time nullable

If set, the document will be automatically deleted after this date.

processing_statusstring required
tokens_processing_totalinteger required