GET
/
api
/
organization
/
usage
/
{organization_id}
curl --request GET \
  --url https://api.trieve.ai/api/organization/usage/{organization_id} \
  --header 'Authorization: <api-key>' \
  --header 'TR-Organization: <tr-organization>'
{
  "chunk_count": 1000,
  "dataset_count": 1,
  "file_storage": 512,
  "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
  "message_count": 1000,
  "org_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
  "user_count": 5
}

Authorizations

Authorization
string
headerrequired

Headers

TR-Organization
string
required

The organization id to use for the request

Path Parameters

organization_id
string
required

The id of the organization you want to fetch the usage of.

Response

200 - application/json
chunk_count
integer
required
dataset_count
integer
required
file_storage
integer
required
id
string
required
message_count
integer
required
org_id
string
required
user_count
integer
required