Skip to main content
GET
Get llm gateway usage

Authorizations

Authorization
string
header
required

Enter a Forge service-account token or delegated OAuth access token. Mintlify adds the Bearer prefix.

Path Parameters

organizationId
string
required

Query Parameters

window
enum<string>
Available options:
30d,
all_time
excludeDimensions
string

Comma-separated cost rollup dimensions to omit. Supports session and policy_outcome, ignoring case, surrounding whitespace, duplicates, and empty entries. Omitted or empty values return all dimensions. Scalar metrics are unchanged. A selected dimension that is also excluded returns no cost rollups.

Maximum string length: 256
dimension
enum<string>
Available options:
token,
profile,
user,
group,
service_account,
group_inclusive,
provider,
model,
session,
policy_outcome
query
string
limit
integer
required
Required range: 1 <= x <= 50

Response

Forge LLM Gateway-observed usage, cost, and bounded rollups.

The response is of type object.