> ## Documentation Index
> Fetch the complete documentation index at: https://developers.meshapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Transcription

> Transcribe an audio file to text.

Provider is resolved automatically from the model name via model_pricing.
`file` is optional for providers that accept `source_url` or `cloud_storage_url`.
`additional_formats` is a JSON-encoded string (ElevenLabs-specific, ignored by others).
Returns `{"text": "..."}` by default, or per-word structure (`words[]` with each
token's `type`) when `response_format=verbose_json`.



## OpenAPI

````yaml /api/openapi.json post /v1/audio/transcriptions
openapi: 3.1.0
info:
  title: MeshAPI
  description: One key, all AI models.
  version: 0.1.0
servers:
  - url: https://api.meshapi.ai
security:
  - BearerAuth: []
paths:
  /v1/audio/transcriptions:
    post:
      tags:
        - Audio
      summary: Create Transcription
      description: >-
        Transcribe an audio file to text.


        Provider is resolved automatically from the model name via
        model_pricing.

        `file` is optional for providers that accept `source_url` or
        `cloud_storage_url`.

        `additional_formats` is a JSON-encoded string (ElevenLabs-specific,
        ignored by others).

        Returns `{"text": "..."}` by default, or per-word structure (`words[]`
        with each

        token's `type`) when `response_format=verbose_json`.
      operationId: create_transcription
      parameters:
        - name: enable_logging
          in: query
          required: false
          schema:
            type: boolean
            default: true
            title: Enable Logging
        - in: header
          name: X-Mesh-Version
          required: false
          schema:
            type: string
            enum:
              - 2026-08
            default: 2026-08
          example: 2026-08
          description: >-
            Dated version of the API contract to pin this request to. Omit it
            and the request is served under `2026-08` — the oldest supported
            version, so an existing integration is never moved by a release. A
            malformed or unsupported value is rejected with `400
            invalid_api_version` rather than falling back silently. The version
            actually served is echoed as `X-Mesh-Version` on every response,
            including errors.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_transcription'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranscriptionResponse'
              examples:
                default:
                  summary: Example response
                  value:
                    text: Today we reviewed the launch plan.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    Body_create_transcription:
      properties:
        model:
          type: string
          title: Model
        file:
          anyOf:
            - type: string
              contentMediaType: application/octet-stream
            - type: 'null'
          title: File
        response_format:
          anyOf:
            - type: string
            - type: 'null'
          title: Response Format
        language_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Language Code
        tag_audio_events:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Tag Audio Events
        num_speakers:
          anyOf:
            - type: integer
              maximum: 32
              minimum: 1
            - type: 'null'
          title: Num Speakers
        timestamps_granularity:
          anyOf:
            - type: string
            - type: 'null'
          title: Timestamps Granularity
        diarize:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Diarize
        diarization_threshold:
          anyOf:
            - type: number
              maximum: 0.4
              minimum: 0.1
            - type: 'null'
          title: Diarization Threshold
        additional_formats:
          anyOf:
            - type: string
            - type: 'null'
          title: Additional Formats
        file_format:
          anyOf:
            - type: string
            - type: 'null'
          title: File Format
        cloud_storage_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Cloud Storage Url
        source_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Url
        webhook:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Webhook
        webhook_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Webhook Id
        temperature:
          anyOf:
            - type: number
              maximum: 2
              minimum: 0
            - type: 'null'
          title: Temperature
        seed:
          anyOf:
            - type: integer
              maximum: 2147483647
              minimum: 0
            - type: 'null'
          title: Seed
        use_multi_channel:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Use Multi Channel
        webhook_metadata:
          anyOf:
            - type: string
            - type: 'null'
          title: Webhook Metadata
        entity_detection:
          anyOf:
            - type: string
            - type: 'null'
          title: Entity Detection
        no_verbatim:
          anyOf:
            - type: boolean
            - type: 'null'
          title: No Verbatim
        detect_speaker_roles:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Detect Speaker Roles
        entity_redaction:
          anyOf:
            - type: string
            - type: 'null'
          title: Entity Redaction
        entity_redaction_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Entity Redaction Mode
        keyterms:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Keyterms
        with_timestamps:
          anyOf:
            - type: boolean
            - type: 'null'
          title: With Timestamps
        debug_mode:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Debug Mode
      type: object
      required:
        - model
      title: Body_create_transcription
    TranscriptionResponse:
      properties:
        text:
          type: string
          title: Text
      type: object
      required:
        - text
      title: TranscriptionResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Enter your MeshAPI key (`rsk_...`) — sent as `Authorization: Bearer
        <key>`.

````