Usage

Current-month cost rollup

Month-to-date model spend against the tier's budget, with the dollars remaining and an overCap flag. Pass since to roll up from a different start date.

API key scopes: usage:read.

get/api/usage

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/usage
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Query parameters

sincestring

Return only records changed at or after this point.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Response

ok

sincestring required
totalUsdnumber required
totalCallsnumber required
aiAddonUnitsinteger

Changes

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