Skip to main content
GET
Get usage details for the team.
Get usage details for the team. If X-Friendli-Team is omitted, this endpoint uses the default team configured in Friendli Suite. To request successfully, it is mandatory to enter a Personal API Key (e.g. flp_XXX) value in the Bearer Token field. Refer to the authentication section on our introduction page to learn how to acquire this variable and visit here to generate your API Key.

Authorizations

Authorization
string
header
required

When using Friendli Suite API for inference requests, you need to provide a Friendli Token for authentication and authorization purposes.

For more detailed information, please refer here.

Headers

X-Friendli-Team
string | null

ID of team to run requests as (optional parameter).

Query Parameters

start_time
string<date-time>
required

RFC 3339 timestamp in UTC. Must fall on a 5-minute boundary (e.g., 2026-01-01T10:05:00Z). It must be no earlier than one year ago. When bucket_width=1h, it must align to an hour boundary (e.g., 10:00:00Z); when bucket_width=1d, it must align to a day boundary (e.g., 00:00:00Z).

end_time
string<date-time>
required

RFC 3339 timestamp in UTC. Must fall on a 5-minute boundary (e.g., 2026-01-01T10:05:00Z), and its minute value must match start_time's. It must obey the same hour/day alignment as start_time when bucket_width=1h or 1d.

bucket_width
enum<string> | null
default:1d

Width of each time bucket in response. Currently 1d, 1h, and 5m are supported, default to 1d.

Available options:
1d,
1h,
5m
limit
integer | null

Specifies the number of buckets to return.

  • bucket_width=1d: default limit = 7, max limit = 31
  • bucket_width=1h: default limit = 24, max limit = 168
  • bucket_width=5m: default limit = 12, max limit = 288
page
string | null

A cursor for use in pagination. Corresponding to the next_page field from the previous response.

group_by
enum<string>[] | null

Group the usage by the specified fields. Support fields include model, product_type, user_id and any combination of them.

Available options:
model,
product_type,
user_id
models
string[] | null

Return only usage for the listed Model APIs and Dedicated Endpoints. Values are model IDs, endpoint IDs, or a mix.

user_ids
string[] | null

Return only usage for these users.

product_types
enum<string>[] | null

Return only usage for the specified product types. Supported fields include model_apis, dedicated_endpoints and any combination of them.

Available options:
model_apis,
dedicated_endpoints
gpu_types
string[] | null

Return only usage for the specified GPU types. When this filter is given, only 'gpu_usage' will be provided. Combining gpu_types with 'product_types=model_apis` is rejected with HTTP 400.

Response

Team usage response

has_more
boolean
required
data
UsageBucket · object[]
required
next_page
string | null
Last modified on July 22, 2026