Skip to content

GET /usage

Returns the current quota usage for your API key. This endpoint does not count as a render — calling it will never consume quota.

GET https://og-engine.com/usage

Authentication: Required (Authorization: Bearer oge_sk_...)

Terminal window
curl https://og-engine.com/usage \
-H "Authorization: Bearer oge_sk_YOUR_KEY"
{
"plan": "free",
"limit": 500,
"used": 142,
"remaining": 358,
"resetAt": "2026-05-01T00:00:00Z"
}
FieldTypeDescription
planstringCurrent plan: free, starter, pro, or scale
limitnumberTotal monthly render quota
usednumberRenders consumed this billing cycle
remainingnumberRenders remaining (limit - used)
resetAtstringISO 8601 timestamp of next quota reset

For paid plans, resetAt is the next billing cycle anniversary. For the free plan, it is the 1st of the next month at 00:00 UTC.

StatusCodeCause
401unauthorizedMissing or invalid API key
const { plan, used, remaining, resetAt } = await og.usage()
console.log(`Plan: ${plan}`)
console.log(`Used: ${used} / ${used + remaining} renders`)
console.log(`Resets: ${new Date(resetAt).toLocaleDateString()}`)