For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
CloudGitHub
  • API Reference
      • GETGet collection details
      • PUTCreate a collection
      • DELDelete a collection
      • PATCHUpdate collection parameters
      • GETList all collections
      • GETCheck collection existence
LogoLogo
CloudGitHub
API ReferenceCollections

Check collection existence

GET
/collections/:collection_name/exists
GET
/collections/:collection_name/exists
$curl http://localhost:6333/collections/collection_name/exists \
> -H "api-key: <apiKey>"
200Retrieved
1{
2 "time": 1.1,
3 "status": "string",
4 "result": {
5 "exists": true
6 }
7}
Checks whether the specified collection exists.
Was this page helpful?
Previous

Retrieve points

Next
Built with

Authentication

api-keystring
API Key authentication via header

Path parameters

collection_namestringRequired
Name of the collection

Response

successful operation
timedouble
Time spent to process this request
statusstring
resultobject

State of existence of a collection, true = exists, false = does not exist