curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/usage \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/usage';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/usage"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"app_admitted": 123,
"app_id": "<string>",
"app_quota_calls": 123,
"app_rejected": 123,
"automatic_charging_enabled": false,
"credits": 123,
"current_limit": 123,
"daily_quota_calls": [
123
],
"effective_plan": {},
"enforcement": "<string>",
"environment": "sandbox",
"exhaustion_policy": "accrue",
"metric": "<string>",
"overage_calls": 123,
"period": "<string>",
"quota_basis": "<string>",
"remaining": 123,
"schema_version": 123,
"tenant_browser_calls": 123,
"tenant_calls": 123,
"tenant_id": "<string>",
"tenant_quota_calls": 123,
"tenant_server_calls": 123,
"timezone": "<string>",
"window_end": "2023-11-07T05:31:56Z",
"window_start": "2023-11-07T05:31:56Z",
"workspace_call_limit": 123,
"workspace_cost_limit_configured": true
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Get monthly API usage
Return API call counts for one calendar month (UTC, YYYY-MM; defaults to the current month): workspace totals, the calling app’s admitted and rejected calls, the effective allowance, credits and remaining calls. Past months are reported as historical evidence only. Accepts any valid API key, or a dashboard sign-in with the X-Ignite-App-Id header.
Raw HTTP template
Replace path, credential and schema placeholders using valid resources. The planned host requires activation; use your assigned API URL meanwhile. Preserve a write’s original idempotency key when its contract supports retry. If sending raw HTTP/1.1, use CRLF for request and header lines.
GET /v1/usage HTTP/1.1
Host: sandbox.ignite-checkout.ai
Authorization: Bearer <MachineKey-credential>
HTTP/2 header equivalent
Logical headers over negotiated HTTPS HTTP/2, not a wire-format message. The endpoint, JSON and idempotency rules are unchanged. See HTTP and transport.
:method: GET
:scheme: https
:authority: sandbox.ignite-checkout.ai
:path: /v1/usage
authorization: Bearer <MachineKey-credential>
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/usage \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/usage';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/usage"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"app_admitted": 123,
"app_id": "<string>",
"app_quota_calls": 123,
"app_rejected": 123,
"automatic_charging_enabled": false,
"credits": 123,
"current_limit": 123,
"daily_quota_calls": [
123
],
"effective_plan": {},
"enforcement": "<string>",
"environment": "sandbox",
"exhaustion_policy": "accrue",
"metric": "<string>",
"overage_calls": 123,
"period": "<string>",
"quota_basis": "<string>",
"remaining": 123,
"schema_version": 123,
"tenant_browser_calls": 123,
"tenant_calls": 123,
"tenant_id": "<string>",
"tenant_quota_calls": 123,
"tenant_server_calls": 123,
"timezone": "<string>",
"window_end": "2023-11-07T05:31:56Z",
"window_start": "2023-11-07T05:31:56Z",
"workspace_call_limit": 123,
"workspace_cost_limit_configured": true
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
Response
Successful Response