Usage
Vector stores
Get vector stores usage details for the organization.
GET
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Start time (Unix seconds) of the query time range, inclusive.
End time (Unix seconds) of the query time range, exclusive.
Width of each time bucket in response. Currently 1m
, 1h
and 1d
are supported, default to 1d
.
Available options:
1m
, 1h
, 1d
Return only usage for these projects.
Group the usage data by the specified fields. Support fields include project_id
.
Specifies the number of buckets to return.
bucket_width=1d
: default: 7, max: 31bucket_width=1h
: default: 24, max: 168bucket_width=1m
: default: 60, max: 1440
A cursor for use in pagination. Corresponding to the next_page
field from the previous response.
Response
200 - application/json
Usage data retrieved successfully.
The response is of type object
.