Class GetUsageRequest.Builder
java.lang.Object
ai.vectros.resources.auth.requests.GetUsageRequest.Builder
- Enclosing class:
GetUsageRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()App context id.from(GetUsageRequest other) Calendar month, 1-12 (for example, 5 for May).Calendar year (for example, 2026).
-
Method Details
-
from
-
year
Calendar year (for example, 2026). Defaults to the current year.
-
year
-
month
Calendar month, 1-12 (for example, 5 for May). Defaults to the current month.
-
month
-
contextId
App context id. For a token with cross-context reach, this only restricts the
contextsbreakdown to that single app context — your account-wide totals are unaffected. For a token confined to one app context, your totals are already narrowed to it (see the operation description) regardless of this parameter; supplying it must name your own context or the request is refused. -
contextId
-
build
-
additionalProperty
-
additionalProperties
-