credits

Get one table's spend series

Get one table's spend series for the per-table usage dialog.

get/credits/usage/by_table/{table_id}/timeseries/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/credits/usage/by_table/{table_id}/timeseries/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

table_idstring uuid required

Query parameters

start_timestring date-time required

Range start (ISO 8601)

end_timestring date-time required

Range end (ISO 8601)

interval'hour' | 'day'
timezonestring

IANA timezone for buckets

Response

Successful Response

intervalstring required

Bucket size of the detailed part: hour or day.

reduced_granularity_beforestring date-time nullable required

Buckets before this boundary are month-granularity rollups.

total_credits_refundednumber required

Headline refunded total for the range, in decimal credits.

total_credits_spentnumber required

Headline total for the range, net of refunds, in decimal credits.

total_unitsinteger required

Changes

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