openapi: 3.2.0 info: title: Saperly Languages API version: 0.1.0 description: 'Operations tagged languages across 2 of this provider''s published API definitions: api-saperly-com-openapi.json, saperly-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: / description: This worker - url: https://api.saperly.com description: Production security: [] tags: - name: Languages description: Discover the spoken languages a connection can use (its `language` field). The list is derived from the voice catalogue — every language here has at least one voice that speaks it (see `GET /voices`) — and is ordered most-supported first. Any well-formed BCP-47 tag is also accepted on a connection; this is the curated, recommended set. paths: /languages: get: tags: - Languages operationId: languages.list parameters: [] security: [] responses: '200': description: Success content: application/json: schema: type: array items: type: object properties: code: type: string description: The BCP-47 primary language subtag (e.g. "en", "es", "fr"). Pass it as a connection's `language`. name: type: string description: The language's English display name (e.g. "English", "Spanish"). required: - code - name additionalProperties: false description: A spoken language a connection's `language` field can be set to. Use `code` as the connection's `language`. '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/Unauthorized' '403': description: AuthorizationDenied content: application/json: schema: $ref: '#/components/schemas/AuthorizationDenied' '429': description: RateLimited content: application/json: schema: $ref: '#/components/schemas/RateLimited' '500': description: InternalError content: application/json: schema: $ref: '#/components/schemas/InternalError' summary: List the supported spoken languages servers: - url: / description: This worker components: schemas: AuthorizationDenied: type: object properties: _tag: type: string enum: - AuthorizationDenied reason: type: string required: - _tag - reason additionalProperties: false RateLimited: type: object properties: _tag: type: string enum: - RateLimited bucket: type: string description: The rate-limit bucket that was exhausted. required: - _tag - bucket additionalProperties: false Unauthorized: type: object properties: _tag: type: string enum: - Unauthorized message: type: string description: Why the request was rejected (missing, invalid, or insufficient credentials). required: - _tag - message additionalProperties: false InternalError: type: object properties: _tag: type: string enum: - InternalError traceId: type: string description: A correlation id for this failure — quote it when reporting the problem so the request can be traced. required: - _tag - traceId additionalProperties: false x-refined-from: - api-saperly-com-openapi.json - saperly-openapi.yml