# Report one API call for the acme-production instance
curl -X POST https://app.kaiten.sh/api/instances/acme-production/entitlements/api-calls/usage \
-H "Authorization: Bearer ksh_your_token" \
-H "Content-Type: application/json" \
-d '{ "value": { "type": "number", "value": 1 }, "behavior": "append" }'
# 200: the report is counted in the current window
→ {
"entitlementSlug": "api-calls",
"value": { "type": "number", "value": 67434 },
"limit": { "type": "number", "value": 100000 },
"currentPeriodStart": "2026-10-01T00:00:00Z",
"currentPeriodEnd": "2026-11-01T00:00:00Z"
}
# 409: the report would cross the license limit — refused and recorded, usage unchanged
# Report one API call for the acme-production instance
curl -X POST https://app.kaiten.sh/api/instances/acme-production/entitlements/api-calls/usage \
-H "Authorization: Bearer ksh_your_token" \
-H "Content-Type: application/json" \
-d '{ "value": { "type": "number", "value": 1 }, "behavior": "append" }'
# 200: the report is counted in the current window
→ {
"entitlementSlug": "api-calls",
"value": { "type": "number", "value": 67434 },
"limit": { "type": "number", "value": 100000 },
"currentPeriodStart": "2026-10-01T00:00:00Z",
"currentPeriodEnd": "2026-11-01T00:00:00Z"
}
# 409: the report would cross the license limit — refused and recorded, usage unchanged