{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-mdr-usage-request-legacy-schema.json", "title": "MdrUsageRequestLegacy", "description": "MDR usage request parameters", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/telnyx-mdr-usage-reports-api-openapi.yml#/components/schemas/MdrUsageRequestLegacy", "properties": { "aggregation_type": { "description": "Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2", "format": "int32", "type": "integer" }, "end_time": { "format": "date-time", "type": "string" }, "managed_accounts": { "description": "List of managed accounts to include", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "profiles": { "description": "List of messaging profile IDs to filter by", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "select_all_managed_accounts": { "type": "boolean" }, "start_time": { "format": "date-time", "type": "string" } }, "required": [ "aggregation_type" ], "type": "object" }