Platform API ClientClient group2 methodsUsageMethods
Usage
Read operation-level usage totals and time-series history for metered billing dimensions.
Current summaryHistorical entries
Usage
usage.get()
Generated exampleHTTP endpoint wrapperGET /api/v1/usageGET /api/v1/usage
Signature
get(): Promise<UsageSummaryResponse>Python SDKpython
from arelis import create_arelis_platform
import os
platform = create_arelis_platform({
"baseUrl": "https://api.arelis.digital",
"apiKey": os.environ["ARELIS_API_KEY"],
})
response = platform.usage.get()
print(response)Response
// Response type
Promise<UsageSummaryResponse>
// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));usage.history()
Generated exampleHTTP endpoint wrapperGET /api/v1/usage/historyGET /api/v1/usage/history
Signature
history(): Promise<UsageHistoryResponse>Python SDKpython
from arelis import create_arelis_platform
import os
platform = create_arelis_platform({
"baseUrl": "https://api.arelis.digital",
"apiKey": os.environ["ARELIS_API_KEY"],
})
response = platform.usage.history()
print(response)Response
// Response type
Promise<UsageHistoryResponse>
// Inspect concrete fields from your runtime payload:
// console.log(JSON.stringify(response, null, 2));