Document

Creates a new DocumentCollection

POST
If a collection with the same name already exists, an error will be returned.

Path parameters

collectionNamestringRequired
Name of the Document Collection

Request

This endpoint expects an object.
description
stringOptional
metadata
map from strings to anyOptional

Response

This endpoint returns an object
message
stringOptional

Errors

POST
1curl -X POST https://api.getzep.com/api/v2/collections/collectionName \
2 -H "Authorization: Api-Key <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
1{
2 "message": "message"
3}