For the complete documentation index, see llms.txt. This page is also available as Markdown.

Documents

get
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Query parameters
afterstringOptional
limitnumberOptional
externalIdstringOptional
document_source_idstringOptional
Responses
200Success
application/json
get/v1/documents
200Success
post
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Body
file_namestringRequired

A user friendly name for the document

external_idstringRequired

The id generated by the system from which the document was extracted

original_file_namestring · nullableRequired

The file name as of the extracted file.

original_file_pathstring · nullableRequired

The file path of the extracted file.

original_authorstring · nullableRequired

The author of the document.

extensionstringRequired

The file extension.

file_pathstringRequired

The file path as stored in the object storage.

valid_fromstring · nullableRequired

The date at which the document has been made available.

valid_untilstring · nullableRequired

The date at which the document will be made unavailable.

size_kbnumber · nullableRequired

The file size in kb.

storagestringRequired

The object storage ID to which the document is associated

document_source_idstring · nullableRequired

The document source ID this document belongs to. Optional — when omitted, the document is attached to the org's default source.

is_externally_managedboolean · nullableRequired

Whether the document is externally managed (read-only in the UI). Defaults to false.

Responses
200Success
application/json
idstringRequired

Unique ID

file_namestringRequired

A user friendly name for the document

external_idstringRequired

The id generated by the system of referenced

original_file_namestring · nullableRequired

The file name as of the extracted file.

original_file_pathstring · nullableRequired

The file path of the extracted file.

original_authorstring · nullableRequired

The author of the document.

extensionstringRequired

The file extension.

file_pathstringRequired

The file path as stored in the object storage.

valid_fromstring · nullableRequired

The date at which the document has been made available.

valid_untilstring · nullableRequired

The date at which the document will be made unavailable.

size_kbnumber · nullableRequired

The file size in kb.

storagestringRequired

The object storage ID to which the document is associated

document_source_idstring · nullableRequired

The document source ID this document belongs to

is_externally_managedbooleanRequired

Whether the document is externally managed (read-only in the UI)

post/v1/documents
200Success
get
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Path parameters
documentIdstringRequired
Responses
200Success
application/json
idstringRequired

Unique ID

file_namestringRequired

A user friendly name for the document

external_idstringRequired

The id generated by the system of referenced

original_file_namestring · nullableRequired

The file name as of the extracted file.

original_file_pathstring · nullableRequired

The file path of the extracted file.

original_authorstring · nullableRequired

The author of the document.

extensionstringRequired

The file extension.

file_pathstringRequired

The file path as stored in the object storage.

valid_fromstring · nullableRequired

The date at which the document has been made available.

valid_untilstring · nullableRequired

The date at which the document will be made unavailable.

size_kbnumber · nullableRequired

The file size in kb.

storagestringRequired

The object storage ID to which the document is associated

document_source_idstring · nullableRequired

The document source ID this document belongs to

is_externally_managedbooleanRequired

Whether the document is externally managed (read-only in the UI)

get/v1/documents/{documentId}
200Success
put
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Path parameters
documentIdstringRequired
Body
idstringRequired

Unique ID

file_namestringRequired

A user friendly name for the document

external_idstringRequired

The id generated by the system of referenced

original_file_namestring · nullableRequired

The file name as of the extracted file.

original_file_pathstring · nullableRequired

The file path of the extracted file.

original_authorstring · nullableRequired

The author of the document.

extensionstringRequired

The file extension.

file_pathstringRequired

The file path as stored in the object storage.

valid_fromstring · nullableRequired

The date at which the document has been made available.

valid_untilstring · nullableRequired

The date at which the document will be made unavailable.

size_kbnumber · nullableRequired

The file size in kb.

storagestringRequired

The object storage ID to which the document is associated

document_source_idstring · nullableRequired

The document source ID this document belongs to

is_externally_managedbooleanRequired

Whether the document is externally managed (read-only in the UI)

Responses
200Success
application/json
idstringRequired

Unique ID

file_namestringRequired

A user friendly name for the document

external_idstringRequired

The id generated by the system of referenced

original_file_namestring · nullableRequired

The file name as of the extracted file.

original_file_pathstring · nullableRequired

The file path of the extracted file.

original_authorstring · nullableRequired

The author of the document.

extensionstringRequired

The file extension.

file_pathstringRequired

The file path as stored in the object storage.

valid_fromstring · nullableRequired

The date at which the document has been made available.

valid_untilstring · nullableRequired

The date at which the document will be made unavailable.

size_kbnumber · nullableRequired

The file size in kb.

storagestringRequired

The object storage ID to which the document is associated

document_source_idstring · nullableRequired

The document source ID this document belongs to

is_externally_managedbooleanRequired

Whether the document is externally managed (read-only in the UI)

put/v1/documents/{documentId}
200Success
delete
Authorizations
AuthorizationstringRequired

Pass a Service Account Key as the Bearer token to authenticate. e.g. 'sk:xxxxxxx'

Path parameters
documentIdstringRequired
Responses
200Success
application/json
idstringRequired
isDeletedbooleanRequired
delete/v1/documents/{documentId}
200Success

Last updated