Billing

Get the caller's org cost summary

Return the org-level cost summary for the period.

Defaults to the current calendar month. Category totals come from :func:~app.services.billing._queries.get_org_summary.

get/billing/summary

Request

  • Base URL: https://api-docs.jackhamr.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api-docs.jackhamr.ai/billing/summary
  • Auth: none declared

Query parameters

period_startstring date-time nullable

Start of period (ISO 8601)

period_endstring date-time nullable

End of period (ISO 8601)

Response

Successful Response

organization_idstring required
period_startstring date-time required
period_endstring date-time required
today_costnumber
yesterday_costnumber
current_hourly_ratenumber
projected_dailynumber
projected_monthlynumber
projected_yearlynumber
currencystring
compute_costnumber
ram_costnumber
storage_costnumber
llm_costnumber
data_transfer_costnumber
total_costnumber
total_input_tokensinteger
total_output_tokensinteger
total_cache_read_tokensinteger
total_cache_write_tokensinteger
input_token_costnumber
output_token_costnumber
cache_read_token_costnumber
cache_write_token_costnumber

Changes

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