Credit API

Credit API is a utility API that helps to keep track of your used Altum credits.

Credit API is only available to Prepaid users. Enterprise customers can utilize this upon request.

A GET Request to the Credit API will return a JSON response showing your used credits, categorized into API names since 24 hours ago. By adding a time parameter, you can specify the time range of the request in hours.

There is a 60s latency window between changes in your credit and its presence in the Credit API.


Make GET Request to the API to receive your used credit for 24 hours. Specify your time range with the time query parameter

GET https://api.altum.ai/credit

Query Parameters

NameTypeDescription

time

integer

Time range in seconds. Eg. 90

Headers

NameTypeDescription

x-api-key*

string

Valid API key

Content-Type

string

application/json

https://api.altum.ai/credit
?time=40

Last updated