GET
The project's monthly spend cap and spend so far

Authorizations

Authorization
string
header
required

A project API key, alt_live_… or alt_test_….

Response

The cap.

object
string
required
Allowed value: "spend_cap"
project_id
string
required
plan
enum<string>
required
Available options:
sandbox,
payg,
growth,
enterprise
spend_cap_cents
integer
required
period
string
required

The month, e.g. 2026-10 (UTC).

spent_cents
integer
required

Spend this month

spent_microusd
integer
required
remaining_cents
integer
required
reached
boolean
required

true once spend is at or over the cap: billable requests answer 402 spend_cap_reached.

thresholds_sent
integer[]
required

usage.threshold webhooks already sent this month (50, 80, 100).

payment_method
boolean

true once the project has a card on file and a plan in good standing. Without one, billable requests answer 402 payment_method_required.