For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.9

Type Alias: GetDocumentData

type GetDocumentData = object;

Properties​

body?​

optional body?: never;

path​

path: object;

documentId​

documentId: DocumentId;

The ID of the document to download.


query?​

optional query?: object;

contentHash?​

optional contentHash?: string;

The hash of the document content that was computed by the document store during upload. The hash is part of the document reference that is returned when uploading a document. If the client fails to provide the correct hash, the request will be rejected.

storeId?​

optional storeId?: string;

The ID of the document store to download the document from.


url​

url: "/documents/{documentId}";