getCollection

abstract suspend fun getCollection(name: String): CollectionInfo

Fetch a collection's status and point counts.

Throws

if the collection does not exist.

if the API key is missing or wrong.

if the request exceeds the configured timeout.

on a connection failure or server error.