🚀 zembed-1 is now generally available through the API, all SDKs, and on the AWS Marketplace!
curl --request POST \
--url https://api.zeroentropy.dev/v1/collections/add-collection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"collection_name": "<string>",
"num_shards": 1
}
'{
"message": "Success!"
}Adds a collection.
If the collection already exists, a 409 Conflict status code will be returned.
curl --request POST \
--url https://api.zeroentropy.dev/v1/collections/add-collection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"collection_name": "<string>",
"num_shards": 1
}
'{
"message": "Success!"
}Documentation Index
Fetch the complete documentation index at: https://docs.zeroentropy.dev/llms.txt
Use this file to discover all available pages before exploring further.
The name of the collection to add. The maximum length of this string is 1024 characters. If special characters are used, then the UTF-8 encoded string cannot exceed 1024 bytes.
[ADVANCED] The number of shards to use for this collection. By using K shards, your documents can index with K times more throughput. However, queries will be automatically sent to all K shards and then aggregated. For large collections, this can make queries faster. But for small collections, this will make queries slower. num_shards must be one of [1, 8, 16, 32, 64]. The default is 1.
Successful Response
This string will always be "Success!". This may change in the future.