v16

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-032765158.3 KB
Documents

Get Document Info

Retrieves information about a specific document. The request parameters define what information you would like to receive.

A 404 Not Found will be returned if either the collection name does not exist, or the document path does not exist within the provided collection.

post/documents/get-document-info

Request body

collection_namestring required

The name of the collection.

pathstring required

The filepath of the document that you're requesting. A 404 Not Found status code will be returned if no document with this path was found.

include_contentboolean

If true, then the document response will have the content attribute be a string, rather than null. This string will contain the full contents of the document.

Response

Successful Response