Management

Monthly spend report

Monthly spend per key. Up to 3 months for the organization or 12 for one key. Months with no activity are left out; totals covers every month.

get/v1/spend

Request

  • Base URL: https://api.consus.io
  • URL: https://api.consus.io/v1/spend
  • Auth: API key in header x-api-key

Query parameters

startstring

First month, inclusive. Defaults to end.

endstring

Last month, inclusive. Defaults to the current month.

api_key_idstring

Scope to one of your organization's inference keys.

Response

Spend buckets.

object'list'
startstring
endstring

Changes

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