action telnyx_get_usage_report_sync { label: "getUsageReportSync" description: "Generate and fetch voice usage report synchronously. This endpoint will both generate and fetch the voice report over a specified time period. No polling is necessary but the response may take up to a couple of minutes. " provider: telnyx method: GET path: "/reports/cdr_usage_reports/sync" encoding: json input: { type: "object" properties: { aggregation_type: { type: "string" enum: ["NO_AGGREGATION", "CONNECTION", "TAG", "BILLING_GROUP"] } connections: { type: "array" items: { type: "number" } } end_date: { type: "string" format: "date-time" } product_breakdown: { type: "string" enum: ["NO_BREAKDOWN", "DID_VS_TOLL_FREE", "COUNTRY", "DID_VS_TOLL_FREE_PER_COUNTRY"] } start_date: { type: "string" format: "date-time" } } required: ["aggregation_type", "product_breakdown"] additionalProperties: false } output: { type: "object" properties: { data: { type: "object" properties: { aggregation_type: { type: "string" enum: ["NO_AGGREGATION", "CONNECTION", "TAG", "BILLING_GROUP"] } connections: { type: "array" properties: { empty: { type: "boolean" } } items: { type: "integer" format: "int64" } } created_at: { type: "string" format: "date-time" } end_time: { type: "string" format: "date-time" } id: { type: "string" format: "uuid" description: "Identifies the resource" } product_breakdown: { type: "string" enum: ["NO_BREAKDOWN", "DID_VS_TOLL_FREE", "COUNTRY", "DID_VS_TOLL_FREE_PER_COUNTRY"] } record_type: { type: "string" } report_url: { type: "string" } result: { type: "object" } start_time: { type: "string" format: "date-time" } status: { type: "string" enum: ["PENDING", "COMPLETE", "FAILED", "EXPIRED"] } updated_at: { type: "string" format: "date-time" } } } } } }