credits

Get the credits-spent series

Get the spend series for the usage overview chart.

get/credits/usage/spend_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/spend_timeseries/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

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.