Update a spend limit
Replaces the value of the existing limit for the product and period. Send exactly one of amount and unlimited: true. The period's spend is checked at once: raising the limit above the spend lifts the period's block (evaluation.released), and lowering it below the spend blocks the product (evaluation.blocked_now). Returns 404 when no limit is set; create it instead.
Path parameters
Product the limit applies to, as returned in product by the list operation.
Query parameters
daily is the current UTC day; monthly is the current UTC calendar month.
Limit period. Defaults to daily; send it explicitly.
Request body
Example request
{
"amount": 100,
"reason": "Raised for the product launch"
}Response
The limit was updated. evaluation says whether the change lifted or started a block.
Example response
{
"data": {
"record_type": "spend_limit",
"product": "inference",
"product_name": "Inference",
"period": "daily",
"period_start": "2026-09-24",
"period_end": "2026-09-25",
"limit": {
"amount": "100",
"origin": "self_service",
"updated_at": "2026-09-24T09:12:03.412Z"
},
"effective_limit_usd": "100",
"spend_usd": "37.41",
"block": {
"detected_at": "2026-09-24T08:41:17Z",
"spend_usd": "10.20",
"limit_usd": "10",
"blocked_until": "2026-09-25"
},
"evaluation": {
"spend_usd": "37.41",
"note": "A block was lifted by Telnyx support today; this limit applies from tomorrow."
}
}
}Changes
Changed in 1 of the 102 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 102 revisions, 1 has no diff computed.