API Reference
Get Document
API Reference
- GETPing Health
- POSTIngest Text
- POSTIngest File
- POSTBatch Ingest Files
- POSTRetrieve Chunks
- POSTRetrieve Documents
- POSTBatch Get Documents
- POSTBatch Get Chunks
- POSTQuery Completion
- POSTAgent Query
- POSTList Documents
- GETGet Document
- DELDelete Document
- GETGet Document Status
- GETGet Document By Filename
- POSTUpdate Document Text
- POSTUpdate Document File
- POSTUpdate Document Metadata
- GETGet Usage Stats
- GETGet Recent Usage
- POSTCreate Cache
- GETGet Cache
- POSTUpdate Cache
- POSTAdd Docs To Cache
- POSTQuery Cache
- POSTCreate Graph
- GETList Folders
- POSTCreate Folder
- GETGet Folder
- DELDelete Folder
- POSTAdd Document To Folder
- DELRemove Document From Folder
- GETGet Graph
- GETList Graphs
- POSTUpdate Graph
- POSTGenerate Local Uri
- POSTGenerate Cloud Uri
- POSTSet Folder Rule
- DELDelete Cloud App
API Reference
Get Document
Get document by ID.
GET
/
documents
/
{document_id}
{
"external_id": "<string>",
"owner": {},
"content_type": "<string>",
"filename": "<string>",
"metadata": {},
"storage_info": {},
"storage_files": [
{
"bucket": "<string>",
"key": "<string>",
"version": 1,
"filename": "<string>",
"content_type": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"system_metadata": {},
"additional_metadata": {},
"access_control": {},
"chunk_ids": [
"<string>"
]
}
Headers
Path Parameters
Response
200
application/json
Successful Response
Represents a document stored in the database documents collection
Was this page helpful?
{
"external_id": "<string>",
"owner": {},
"content_type": "<string>",
"filename": "<string>",
"metadata": {},
"storage_info": {},
"storage_files": [
{
"bucket": "<string>",
"key": "<string>",
"version": 1,
"filename": "<string>",
"content_type": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
],
"system_metadata": {},
"additional_metadata": {},
"access_control": {},
"chunk_ids": [
"<string>"
]
}