Organization
Get Organization Usage
Fetch the current usage specification of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
post/api/organization/usage/{organization_id}
Request
- Base URLhttps://api.trieve.ai
- URLhttps://api.trieve.ai/api/organization/usage/{organization_id}
- AuthAPI key in header Authorization
Path parameters
organization_idstring uuid required
The id of the organization you want to fetch the usage of.
Headers
TR-Organizationstring uuid required
The organization id to use for the request
Request body
Example request
{
"date_range": {
"gt": "2021-01-01 00:00:00.000",
"gte": "2021-01-01 00:00:00.000",
"lt": "2021-01-01 00:00:00.000",
"lte": "2021-01-01 00:00:00.000"
}
}Response
The current usage of the specified organization
Changes
No recorded changes to this operation across all 50 revisions of this API.