Collections

Check collection existence

GET
Checks whether the specified collection exists.

Path parameters

collection_namestringRequired
Name of the collection

Response

This endpoint returns an object
time
doubleOptional
Time spent to process this request
status
stringOptional
result
objectOptional
State of existence of a collection, true = exists, false = does not exist
GET
1curl http://localhost:6333/collections/collection_name/exists \
2 -H "api-key: <apiKey>"
200Retrieved
1{
2 "time": 1.1,
3 "status": "status",
4 "result": {
5 "exists": true
6 }
7}