Document

Gets a Document from a DocumentCollection by UUID

GET
Returns specified Document from a DocumentCollection.

Path parameters

collectionNamestringRequired
Name of the Document Collection
documentUUIDstringRequired
UUID of the Document to be updated

Response

This endpoint returns an object
content
stringOptional
created_at
stringOptional
document_id
stringOptional
embedding
list of doublesOptional
is_embedded
booleanOptional
metadata
map from strings to anyOptional
updated_at
stringOptional
uuid
stringOptional

Errors

GET
1curl https://api.getzep.com/api/v2/collections/collectionName/documents/uuid/documentUUID \
2 -H "Authorization: Api-Key <apiKey>"
1{
2 "content": "content",
3 "created_at": "created_at",
4 "document_id": "document_id",
5 "embedding": [
6 1.1
7 ],
8 "is_embedded": true,
9 "metadata": {
10 "metadata": {
11 "key": "value"
12 }
13 },
14 "updated_at": "updated_at",
15 "uuid": "uuid"
16}