Backups
List collections
Database
Inference
- Embed
Assistant
- Assistants
- Files
- Chat
- Evaluation
- Context snippets
Backups
List collections
This operation returns a list of all collections in a project. Serverless indexes do not support collections.
GET
/
collections
{
"collections": [
{
"dimension": 3,
"environment": "us-east1-gcp",
"name": "small-collection",
"size": 3126700,
"status": "Ready",
"vector_count": 99
},
{
"dimension": 3,
"environment": "us-east1-gcp",
"name": "small-collection-new",
"size": 3126700,
"status": "Initializing",
"vector_count": 99
},
{
"dimension": 1536,
"environment": "us-east1-gcp",
"name": "big-collection",
"size": 160087040000000,
"status": "Ready",
"vector_count": 10000000
}
]
}
Response
200 - application/json
The list of collections that exist in the project.
The name of the collection.
The size of the collection in bytes.
The status of the collection.
Available options:
Initializing
, Ready
, Terminating
The dimension of the vectors stored in each record held in the collection.
Required range:
1 < x < 20000
The number of records stored in the collection.
The environment where the collection is hosted.
Was this page helpful?
{
"collections": [
{
"dimension": 3,
"environment": "us-east1-gcp",
"name": "small-collection",
"size": 3126700,
"status": "Ready",
"vector_count": 99
},
{
"dimension": 3,
"environment": "us-east1-gcp",
"name": "small-collection-new",
"size": 3126700,
"status": "Initializing",
"vector_count": 99
},
{
"dimension": 1536,
"environment": "us-east1-gcp",
"name": "big-collection",
"size": 160087040000000,
"status": "Ready",
"vector_count": 10000000
}
]
}