curl --request GET \
--url https://{FUSION HOST}/api/collections/{collection}/stats
{
"collectionId": "<string>",
"documentCount": 123,
"requestCount": 123,
"avgTimePerRequestMs": 123,
"sizeInBytes": 123,
"lastModified": "2023-11-07T05:31:56Z"
}
Stats include the number of documents in the index, how many requests have been made of the collection, the average request time, and the index size in bytes.
curl --request GET \
--url https://{FUSION HOST}/api/collections/{collection}/stats
{
"collectionId": "<string>",
"documentCount": 123,
"requestCount": 123,
"avgTimePerRequestMs": 123,
"sizeInBytes": 123,
"lastModified": "2023-11-07T05:31:56Z"
}
The name of a collection.
successful operation
The response is of type object
.
Was this page helpful?