Dataset
Get Usage By Dataset ID
Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
get/api/dataset/usage/{dataset_id}
Request
- Base URLhttps://api.trieve.ai
- URLhttps://api.trieve.ai/api/dataset/usage/{dataset_id}
- AuthAPI key in header Authorization
Path parameters
dataset_idstring uuid required
The id of the dataset you want to retrieve usage for.
Headers
TR-Datasetstring uuid required
The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.
Response
Dataset usage retrieved successfully
Example response
{
"chunk_count": 100,
"dataset_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3"
}Changes
No recorded changes to this operation across all 50 revisions of this API.