Telnyx Spend Limits API

Daily and monthly spend limits per product. A limit applies to the organization of the authenticated user, or to the user's own account when they belong to no organization; every user of the organization sees and changes the same limits. - **Periods.** `daily` covers the current UTC day and `monthly` the current UTC calendar month. The two limits are independent: you can set either, both or neither. - **Blocking.** When spend in a period goes above the limit (strictly greater), the product is blocked until the period ends: 00:00 UTC the next day for `daily`, 00:00 UTC on the 1st of the next month for `monthly`. A block appears within about 2 minutes (daily) or 10 minutes (monthly) of the spend being recorded. - **Changes apply immediately.** Creating, updating or deleting a limit checks the period's spend in the same request: raising the limit above the spend, or removing it, lifts that period's block, and lowering it below the spend blocks the product at once. The `evaluation` object in the response says what happened. - **Supported products.** Today only `inference` supports spend limits. A blocked account gets HTTP 403 with the error title `Inference spend limit reached` (code `10039`) on new billable chat completions, Responses, Anthropic Messages and classification requests; requests already running finish normally. Take the list of products from the list operation. - **Limits set by Telnyx.** Telnyx support can also set a limit on your account. It is listed with `origin: operator` and you can update or delete it like your own.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /spend_limits List spend limits per product · List spend limits #
Ask an LLM
“What is my spend limit and how much have I used so far for each product?”
“Is any product currently blocked because it hit its spend limit?”
Tell an agent
List my spend limits.
Show spend limits for each product and period.
POST /spend_limits Create a spend limit for a product and period · Create a spend limit #
Ask an LLM
“How do I cap what a product can spend in a billing period when no limit exists yet?”
“Can I mark a product's spending as unlimited for a period?”
Tell an agent
Create a first-time spend limit with a dollar amount for a product and period that has none.
Create an unlimited spend limit for a product and period that has no limit yet.
DELETE /spend_limits/{product} Remove a spend limit · Delete a spend limit #
Ask an LLM
“How do I remove a spend limit so a product is no longer capped?”
“What happens to the period's block when I delete a spend limit?”
Tell an agent destructive · confirm first
Delete the spend limit for {product}.
Remove the {period} spend limit on {product} because {reason}.
PATCH /spend_limits/{product} Change an existing spend limit · Update a spend limit #
Ask an LLM
“How do I raise an existing spend limit?”
“What happens when I lower a limit below what the product already spent?”
Tell an agent
Update the spend limit on {product} for {period}.
Set {product} at a new spend limit.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/telnyx:telnyx-spend-limits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

telnyx-spend-limits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Telnyx Spend Limits API
  version: 2.0.0
  contact:
    email: support@telnyx.com
  x-endpoint-cost: light
  x-latency-category: responsive
  description: 'Operations tagged Spend Limits across 2 of this provider''s published API definitions: telnyx-openapi.json, telnyx-openapi_2.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.telnyx.com/v2
  description: Version 2.0.0 of the Telnyx API
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (52 KB total) ---
# Full source: https://artifacts.apis.io/telnyx/openapi/telnyx-spend-limits-api-openapi.yml