cURL
curl --request GET \ --url https://{projectHost}/collections \ --header 'x-api-key: <api-key>'
200
normalCollection
{ "collections": [ { "projectName": "example-project-name", "collectionName": "example-collection-name", "indexConfigs": { "example-field1": { "type": "text", "analyzers": [ "standard" ] }, "example-field2": { "type": "vector", "dimensions": 128, "similarity": "cosine" } }, "numDocs": 10000, "collectionStatus": "ACTIVE" } ]}
List all collections in an existing project.
Project API Key.
A list of collections matched with a projectName.
The response is of type object.
object
Was this page helpful?