Costs

Get AI Cost Summary

Returns AI usage cost totals. Requires Pro or Managed tier.

get/ai/costs

Request

  • Base URL: https://synchronex.ai/api/v1
  • URL: https://synchronex.ai/api/v1/ai/costs
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://synchronex.ai/oauth/authorize, token URL https://synchronex.ai/api/oauth/token, scopes: read)

Query parameters

daysinteger

Response

Cost summary.

total_cost_usdnumber
by_modelobject[]
by_dayobject[]
period_daysinteger
event_countinteger

Changes

No recorded changes to this operation across all 1 revision of this API.