Telnyx · Schema
UsageRequestLegacy
Request object for CDR usage report
CommunicationsCPaaSVoiceSMSIoTTelecommunicationsMessagingArtificial IntelligenceMCPVoice AIPhone NumbersInference
Properties
| Name | Type | Description |
|---|---|---|
| aggregation_type | integer | Aggregation type: All = 0, By Connections = 1, By Tags = 2, By Billing Group = 3 |
| connections | array | List of connections to filter by |
| end_time | string | End time in ISO format |
| managed_accounts | array | List of managed accounts to include |
| product_breakdown | integer | Product breakdown type: No breakdown = 0, DID vs Toll-free = 1, Country = 2, DID vs Toll-free per Country = 3 |
| select_all_managed_accounts | boolean | Whether to select all managed accounts |
| start_time | string | Start time in ISO format |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-usage-request-legacy-schema.json",
"title": "UsageRequestLegacy",
"description": "Request object for CDR usage report",
"x-generated": "2026-10-08",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/telnyx-cdr-usage-reports-api-openapi.yml#/components/schemas/UsageRequestLegacy",
"properties": {
"aggregation_type": {
"description": "Aggregation type: All = 0, By Connections = 1, By Tags = 2, By Billing Group = 3",
"format": "int32",
"type": "integer"
},
"connections": {
"description": "List of connections to filter by",
"items": {
"description": "List of connections to filter by",
"format": "int64",
"type": "integer"
},
"type": "array"
},
"end_time": {
"description": "End time in ISO format",
"format": "date-time",
"type": "string"
},
"managed_accounts": {
"description": "List of managed accounts to include",
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
},
"product_breakdown": {
"description": "Product breakdown type: No breakdown = 0, DID vs Toll-free = 1, Country = 2, DID vs Toll-free per Country = 3",
"format": "int32",
"type": "integer"
},
"select_all_managed_accounts": {
"description": "Whether to select all managed accounts",
"type": "boolean"
},
"start_time": {
"description": "Start time in ISO format",
"format": "date-time",
"type": "string"
}
},
"required": [
"end_time",
"start_time"
],
"type": "object"
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/telnyx-usage-request-legacy"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.