curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/usage/records \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/usage/records"
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/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/usage/records';
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/records"
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))
}{
"items": [
{
"admitted": true,
"app_id": "<string>",
"authority_type": "server",
"completion": "observed",
"created_at": "<string>",
"environment": "<string>",
"http_status": 123,
"id": 123,
"limit": 123,
"method": "<string>",
"period": "<string>",
"plan_id": "<string>",
"protected": true,
"quota_counted": true,
"request_id": "<string>",
"route": "<string>",
"tenant_id": "<string>"
}
],
"next_cursor": 123,
"schema_version": 123,
"through": 0
}{
"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>"
}
}List metered API requests
Page through the individual metered requests of the calling app and environment for one month (UTC, YYYY-MM; defaults to the current month), oldest first, with the observed HTTP status where known. For a fixed export, send an explicit UTC month. Keep that month and the first response’s through, and pass next_cursor as cursor for each subsequent page. 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/records 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/records
authorization: Bearer <MachineKey-credential>
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/usage/records \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/usage/records"
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/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/usage/records';
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/records"
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))
}{
"items": [
{
"admitted": true,
"app_id": "<string>",
"authority_type": "server",
"completion": "observed",
"created_at": "<string>",
"environment": "<string>",
"http_status": 123,
"id": 123,
"limit": 123,
"method": "<string>",
"period": "<string>",
"plan_id": "<string>",
"protected": true,
"quota_counted": true,
"request_id": "<string>",
"route": "<string>",
"tenant_id": "<string>"
}
],
"next_cursor": 123,
"schema_version": 123,
"through": 0
}{
"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>"
}
}