Collections

All operations related to collections

Get all collections

Get all collections and their configurations

Get all Collections

get
Responses
200

Returns a list of Collections along with their configurations.

application/json
get
/collections

Get a collection

Get a specific collection and it's configuration using it's id or name.

Get a Collection

get
Path parameters
collectionIdOrNamestring · min: 1Required
Responses
200

Returns the Collection information.

application/json
get
/collections/{collectionIdOrName}

Create a collection

Create Collection

post
Body
namestringRequiredPattern: ^[a-zA-Z0-9_-]+$
descriptionstring | nullableOptional
Responses
200

Returns the created Collection information.

application/json
post
/collections

Delete a collection

Delete an existing collection using it's name or id.

Delete a Collection

delete
Path parameters
collectionIdOrNamestring · min: 1Required
Responses
200

Returns the deleted Collection.

application/json
delete
/collections/{collectionIdOrName}

Update a collection

Update details of an existing collection.

Updates a Collection

post
Path parameters
collectionIdstring · min: 1Required
Body
namestringOptionalPattern: ^[a-zA-Z0-9_-]+$
descriptionstringOptional
Responses
200

Returns the updated collection information.

application/json
post
/collections/{collectionId}

Query a collection for a vector value

Search a collection using a query vector. It retrieves the vectors that are most similar to the queried vector, along with their similarity scores.

Semantic search over Vectors

post
Path parameters
collectionIdstring · min: 1Required
Body
limitnumberOptional
Responses
200

Returns a list of the matching Vectors in a Collection.

application/json
post
/collections/{collectionId}/query

Query a collection for a text

Search a collection using a text. It retrieves the vectors that are most similar to the queried text, along with their similarity scores.

Semantic search by text over Vectors

post
Path parameters
collectionIdstring · min: 1Required
Body
contentstring[]Required
topKnumberOptional
Responses
200

Returns a list of the matching Vectors in a Collection.

application/json
post
/collections/{collectionId}/query/text

Last updated