{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-mdr-get-detail-report-by-id-response-schema.json", "title": "MdrGetDetailReportByIdResponse", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/telnyx-mdr-detailed-reports-api-openapi.yml#/components/schemas/MdrGetDetailReportByIdResponse", "properties": { "data": { "$ref": "#/$defs/MdrDetailReportResponse" } }, "type": "object", "$defs": { "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" }, "MdrDetailReportResponse": { "properties": { "connections": { "items": { "format": "int64", "type": "integer" }, "type": "array" }, "created_at": { "format": "date-time", "type": "string" }, "directions": { "items": { "enum": [ "INBOUND", "OUTBOUND" ], "type": "string" }, "type": "array" }, "end_date": { "format": "date-time", "type": "string" }, "filters": { "items": { "$ref": "#/$defs/Filter" }, "type": "array" }, "id": { "description": "Identifies the resource", "format": "uuid", "type": "string" }, "profiles": { "description": "List of messaging profile IDs", "items": { "format": "uuid", "type": "string" }, "type": "array" }, "record_type": { "type": "string" }, "record_types": { "items": { "enum": [ "INCOMPLETE", "COMPLETED", "ERRORS" ], "type": "string" }, "type": "array" }, "report_name": { "type": "string" }, "report_url": { "type": "string" }, "start_date": { "format": "date-time", "type": "string" }, "status": { "enum": [ "PENDING", "COMPLETE", "FAILED", "EXPIRED" ], "type": "string" }, "updated_at": { "format": "date-time", "type": "string" } }, "type": "object" } } }