openapi: 3.1.0 info: contact: email: support@telnyx.com description: Telnyx provides global communications and connectivity APIs for developers — including SIP trunking, programmable voice, SMS, MMS, WhatsApp Business Messaging, Call Control, Fax, Wireless (IoT & eSIM), Phone Numbers (DID provisioning & porting), Emergency Services, and Network APIs for private interconnects and edge connectivity. Build, scale, and manage voice, messaging, and data networks with Telnyx's carrier-grade global infrastructure and API-first platform. title: Telnyx Access Tokens Speech to text Usage Reports API version: 2.0.0 x-endpoint-cost: light servers: - description: Version 2.0.0 of the Telnyx API url: https://api.telnyx.com/v2 security: - bearerAuth: [] tags: - description: Speech to text usage reports name: Speech to text Usage Reports paths: /legacy/reporting/usage_reports/speech_to_text: get: description: 'Generate and fetch speech to text usage report synchronously. This endpoint will both generate and fetch the speech to text report over a specified time period. ' operationId: getSttUsageReportSync parameters: - in: query name: start_date schema: example: '2020-07-02T00:00:00-06:00' format: date-time type: string - in: query name: end_date schema: example: '2020-07-01T00:00:00-06:00' format: date-time type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/SttUsageReportResponse' description: Successful '400': content: application/json: schema: $ref: '#/components/schemas/standard_ErrorResponse' description: Bad Request security: - bearerAuth: [] summary: Get speech to text usage report tags: - Speech to text Usage Reports x-latency-category: responsive components: schemas: standard_Error: properties: code: title: Telnyx error code type: string detail: title: Error details type: string title: title: Error title type: string required: - detail title: Error type: object SttUsageReportResponse: properties: data: type: object type: object standard_ErrorResponse: properties: errors: items: $ref: '#/components/schemas/standard_Error' title: Errors type: array title: ErrorResponse type: object securitySchemes: bearerAuth: scheme: bearer type: http branded-calling_bearerAuth: description: API key passed as a Bearer token in the Authorization header scheme: bearer type: http oauthClientAuth: description: OAuth 2.0 authentication for Telnyx API and MCP integrations flows: authorizationCode: authorizationUrl: https://api.telnyx.com/v2/oauth/authorize refreshUrl: https://api.telnyx.com/v2/oauth/token scopes: admin: Administrative access to Telnyx resources tokenUrl: https://api.telnyx.com/v2/oauth/token clientCredentials: scopes: admin: Administrative access to Telnyx resources tokenUrl: https://api.telnyx.com/v2/oauth/token type: oauth2 outbound-voice-profiles_bearerAuth: bearerFormat: JWT scheme: bearer type: http pronunciation-dicts_bearerAuth: description: Telnyx API v2 key. Obtain from https://portal.telnyx.com scheme: bearer type: http stored-payment-transactions_bearerAuth: bearerFormat: JWT scheme: bearer type: http