Spend Insights

Get My Spend History

Changed on

Get the caller's settled AI spend history and current calendar-month totals.

get/api/v1/spend-insights/my/history

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/spend-insights/my/history
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Response

GetMySpendHistoryResponse contains the caller's complete-day history and current calendar-month totals.

currencyCodestring

Currency used for monetary values.

monthEndstring date-time nullable
monthStartstring date-time nullable
reportingEndstring date-time nullable
reportingStartstring date-time nullable
spentInRangeNanostring int64

Settled spend from reporting_start through reporting_end.

spentThisMonthNanostring int64

Settled spend from month_start through the current whole-second cutoff.

spentThroughYesterdayNanostring int64

Settled spend from month_start through reporting_end.

Changes