{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-cdr-get-detail-report-response-schema.json", "title": "CdrGetDetailReportResponse", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/telnyx-cdr-reports-api-openapi.yml#/components/schemas/CdrGetDetailReportResponse", "properties": { "data": { "items": { "$ref": "#/$defs/CdrDetailedReqResponse" }, "type": "array" }, "meta": { "$ref": "#/$defs/batch-csv_PaginationMeta" } }, "type": "object", "$defs": { "CdrDetailedReqResponse": { "description": "Response object for CDR detailed report", "properties": { "call_types": { "description": "List of call types (Inbound = 1, Outbound = 2)", "items": { "description": "Call type value", "format": "int32", "type": "integer" }, "type": "array" }, "connections": { "description": "List of connections", "items": { "description": "List of connections", "format": "int64", "type": "integer" }, "type": "array" }, "created_at": { "description": "Creation date of the report", "type": "string" }, "end_time": { "description": "End time in ISO format", "type": "string" }, "filters": { "description": "List of filters", "items": { "$ref": "#/$defs/Filter" }, "type": "array" }, "id": { "description": "Unique identifier for the report", "type": "string" }, "managed_accounts": { "description": "List of managed accounts", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "record_type": { "type": "string" }, "record_types": { "description": "List of record types (Complete = 1, Incomplete = 2, Errors = 3)", "items": { "description": "Record type value", "format": "int32", "type": "integer" }, "type": "array" }, "report_name": { "description": "Name of the report", "type": "string" }, "report_url": { "description": "URL to download the report", "type": "string" }, "retry": { "description": "Number of retries", "format": "int32", "type": "integer" }, "source": { "description": "Source of the report. Valid values: calls (default), call-control, fax-api, webrtc", "type": "string" }, "start_time": { "description": "Start time in ISO format", "type": "string" }, "status": { "description": "Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)", "format": "int32", "type": "integer" }, "timezone": { "description": "Timezone for the report", "type": "string" }, "updated_at": { "description": "Last update date of the report", "type": "string" } }, "type": "object" }, "Filter": { "description": "Query filter criteria. Note: The first filter object must specify filter_type as 'and'. You cannot follow an 'or' with another 'and'.", "properties": { "billing_group": { "description": "Billing group UUID to filter by", "type": "string" }, "cld": { "description": "Called line identification (destination number)", "type": "string" }, "cld_filter": { "description": "Filter type for CLD matching", "enum": [ "contains", "starts_with", "ends_with" ], "type": "string" }, "cli": { "description": "Calling line identification (caller ID)", "type": "string" }, "cli_filter": { "description": "Filter type for CLI matching", "enum": [ "contains", "starts_with", "ends_with" ], "type": "string" }, "filter_type": { "description": "Logical operator for combining filters", "enum": [ "and", "or" ], "type": "string" }, "tags_list": { "description": "Tag name to filter by", "type": "string" } }, "type": "object" }, "batch-csv_PaginationMeta": { "properties": { "page_number": { "format": "int32", "type": "integer" }, "page_size": { "format": "int32", "type": "integer" }, "total_pages": { "format": "int32", "type": "integer" }, "total_results": { "format": "int32", "type": "integer" } }, "type": "object" } } }