Document

Creates Multiple Documents in a DocumentCollection

POST
Creates Documents in a specified DocumentCollection and returns their UUIDs.

Path parameters

collectionNamestringRequired
Name of the Document Collection

Request

This endpoint expects a list of objects.
content
stringRequired
document_id
stringOptional
metadata
map from strings to anyOptional

Response

This endpoint returns a list of strings

Errors

POST
1curl -X POST https://api.getzep.com/api/v2/collections/collectionName/documents \
2 -H "Authorization: Api-Key <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '[
5 {
6 "content": "content"
7 }
8]'
1[
2 "string"
3]