Skip to content

GetCostsUsageRequest ​

Example Usage ​

typescript
import { GetCostsUsageRequest } from "@meetkai/mka1/models/operations";

let value: GetCostsUsageRequest = {
  startTime: 211264,
  endTime: 103140,
};

Fields ​

FieldTypeRequiredDescription
startTimenumber✔️N/A
endTimenumber✔️N/A
orgIdstring➖N/A
groupByoperations.GroupBy➖Group cost by model / api_key_id (tenant key) / team_id (sub-tenant within an org) / external_user_id (caller-supplied end user, X-On-Behalf-Of, for resale chargeback) / org_id
xOnBehalfOfstring➖Optional external end-user identifier forwarded by the API gateway.