curl --request GET \
--url https://{projectHost}/collections \
--header 'x-api-key: <api-key>'{
"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.
curl --request GET \
--url https://{projectHost}/collections \
--header 'x-api-key: <api-key>'{
"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"
}
]
}Project API Key.
A list of collections matched with a projectName.
Show child attributes
Project name.
Collection name.
Show child attributes
Total number of documents.
Status
CREATING, ACTIVE, DELETING Source project name.
Source collection name.
Source collection version.
Was this page helpful?