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

# Partially update a community STT engine

> Update one of your own community STT engines. `PATCH` behaves the same as `PUT`: only the fields you send are changed. `name` cannot be changed after creation: it may be sent only if it equals the engine's current name, otherwise the request is rejected with a `422`. Changing `websocket_url`, any `supported_*` field, `models` (including any model's `supported_languages`), `default_model`, or narrowing-to-public `visibility` invalidates an existing approval — the engine returns to `review_status: null` and must be re-reviewed, since what was approved is no longer what's being served.



## OpenAPI

````yaml /openapi/source/external/community-stt-engines/community-stt-engines.json patch /stt_integrations/{id}
openapi: 3.1.0
info:
  version: 2.0.0
  title: Telnyx API
  x-latency-category: responsive
  x-endpoint-cost: light
  description: SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
  license:
    name: MIT
    url: https://github.com/openai/openai-openapi/blob/master/LICENSE
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
    description: Version 2.0.0 of the Telnyx API
security:
  - bearerAuth: []
tags:
  - name: Community STT Engines
    description: >-
      Register and manage speech-to-text (STT) engines you publish, and find the
      public engines other organizations published, so an AI Assistant, TeXML,
      Call Control or a WebSocket session can transcribe with one, using your
      own key for it, instead of a Telnyx-integrated vendor.
paths:
  /stt_integrations/{id}:
    patch:
      tags:
        - Community STT Engines
      summary: Partially update a community STT engine
      description: >-
        Update one of your own community STT engines. `PATCH` behaves the same
        as `PUT`: only the fields you send are changed. `name` cannot be changed
        after creation: it may be sent only if it equals the engine's current
        name, otherwise the request is rejected with a `422`. Changing
        `websocket_url`, any `supported_*` field, `models` (including any
        model's `supported_languages`), `default_model`, or narrowing-to-public
        `visibility` invalidates an existing approval — the engine returns to
        `review_status: null` and must be re-reviewed, since what was approved
        is no longer what's being served.
      operationId: partially_update_community_stt_engine
      parameters:
        - $ref: '#/components/parameters/EngineId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCommunitySttEngineRequest'
            examples:
              update_contact:
                value:
                  contact_email: stt-oncall@example.com
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunitySttEngine'
              example:
                id: 11111111-1111-1111-1111-111111111111
                name: my-transcription-engine
                websocket_url: wss://stt.example.com/stream
                supported_encodings:
                  - linear16
                  - linear32
                supported_sample_rates:
                  - 8000
                  - 16000
                models:
                  - name: v1
                    supported_languages:
                      - en
                  - name: v2
                    supported_languages:
                      - en
                      - es
                default_model: v2
                documentation_url: https://stt.example.com/docs
                connect_timeout_ms: 3000
                status: active
                visibility: private
                review_status: approved
                review_notes: null
                reviewed_at: '2026-09-02T09:30:00Z'
                contact_email: stt-oncall@example.com
                data_retention_policy_url: null
                fallback_engine: null
                user_id: 22222222-2222-2222-2222-222222222222
                organization_id: 33333333-3333-3333-3333-333333333333
                created_at: '2026-09-01T12:00:00Z'
                updated_at: '2026-09-24T08:15:00Z'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          description: >-
            Validation error, including a `name` that is invalid or different
            from the engine's current name
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
components:
  parameters:
    EngineId:
      name: id
      in: path
      description: Unique identifier of the community STT engine.
      required: true
      schema:
        type: string
        title: Engine Id
  schemas:
    UpdateCommunitySttEngineRequest:
      type: object
      title: UpdateCommunitySttEngineRequest
      description: >-
        Every field is optional — only the fields present in the request are
        changed. `name`, `websocket_url`, `models`, `default_model` and
        `visibility` reject an explicit `null` (they're required on the
        underlying record); omit a field entirely to leave it unchanged. Send
        `null` to clear `documentation_url`, `contact_email`,
        `data_retention_policy_url` or `fallback_engine`. `name` is immutable:
        send it only if it equals the current name.
      properties:
        name:
          type: string
          title: Name
          minLength: 1
          maxLength: 64
          description: >-
            The engine's unique name, and how you select it: send it as the
            engine (the start of `model` on an assistant, `<name>` or
            `<name>/<model>`; `transcription_engine` on Call Control and
            WebSocket streaming; `transcriptionEngine` in TeXML) together with
            your own key (`api_key_ref`). 1-64 characters: lowercase letters,
            digits, hyphens and underscores, starting with a letter or digit.
            Vendor names (`deepgram`, `azure`, `telnyx`, `google`, `xai`,
            `assemblyai`, `speechmatics`, `soniox`, `parakeet`, `nvidia`,
            `omi-health`, `humain`, `reson8`, `cohere`, `openai`,
            `distil-whisper`, and the spellings `omi_health`, `distil_whisper`,
            `deepgram-flux` and `deepgram_flux`), Deepgram's models written
            without the vendor (`flux`, `flux-multi`, `nova-2`, `nova-3` and
            `nova-3-medical`), the legacy engine codes `a` and `b`, and `custom`
            are reserved. Unique across all Telnyx accounts and cannot be
            changed after creation.
          pattern: >-
            ^(?!(?:custom|deepgram|deepgram[-_]flux|azure|telnyx|google|xai|assemblyai|speechmatics|soniox|parakeet|nvidia|omi[-_]health|humain|reson8|cohere|openai|distil[-_]whisper|flux|flux[-_]multi|nova[-_]2|nova[-_]3|nova[-_]3[-_]medical|a|b)$)[a-z0-9][a-z0-9_-]*$
        websocket_url:
          type: string
          pattern: >-
            ^wss://(?!(?!(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:[:/?#]|$))(?:0[xX][0-9a-fA-F]+|\d+)(?:\.(?:0[xX][0-9a-fA-F]+|\d+))*(?:[:/?#]|$))(?!(?:0|10|127|100\.(?:6[4-9]|[7-9]\d|1[01]\d|12[0-7])|169\.254|172\.(?:1[6-9]|2\d|3[01])|192\.0\.[02]|192\.88\.99|192\.168|198\.1[89]|198\.51\.100|203\.0\.113|22[4-9]|2[3-5]\d)\.\d{1,3}(?:\.\d{1,3})*(?:[:/?#]|$))(?![^/?#@\s]*\.(?:[Cc][Oo][Nn][Ss][Uu][Ll]|[Ii][Nn][Tt][Ee][Rr][Nn][Aa][Ll]|[Ll][Oo][Cc][Aa][Ll]|[Ll][Oo][Cc][Aa][Ll][Hh][Oo][Ss][Tt]|[Ll][Oo][Cc][Aa][Ll][Dd][Oo][Mm][Aa][Ii][Nn]|[Ll][Aa][Nn]|[Ss][Vv][Cc]|[Hh][Oo][Mm][Ee]\.[Aa][Rr][Pp][Aa]|[Tt][Ee][Ll][Nn][Yy][Xx]\.[Ii][Oo])(?:[:/?#]|$))(?![Tt][Ee][Ll][Nn][Yy][Xx]\.[Ii][Oo](?:[:/?#]|$))(?![^?#\s]*\?(?:[^&#\s]*&)*[^=&#\s]*(?:[Tt][Oo][Kk][Ee][Nn]|[Kk][Ee][Yy]|[Ss][Ee][Cc][Rr][Ee][Tt]|[Pp][Aa][Ss][Ss][Ww][Oo][Rr][Dd]|[Pp][Ww][Dd]|[Aa][Uu][Tt][Hh]|[Cc][Rr][Ee][Dd][Ee][Nn][Tt][Ii][Aa][Ll]|[Bb][Ee][Aa][Rr][Ee][Rr]))[^\s/?#@.:]+(?:\.[^\s/?#@.:]+)+(?::(?:6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3}))?(?:[/?#]\S*)?$
          title: Websocket URL
          description: >-
            Must be a `wss://` URL with a host on the public internet; the same
            rules as when registering.
        supported_encodings:
          type: array
          title: Supported Encodings
          description: >-
            Audio formats your engine accepts: any of `linear16`, `linear32`,
            `mulaw`, `alaw`, `opus`, `amr_nb` and `speex`. It must include
            `linear32`, the format calls and AI Assistants send. Declaring none
            (or an empty list) means your engine receives `linear16`,
            `linear32`, `mulaw` or `alaw`; to receive `opus`, `amr_nb` or
            `speex`, list them.
          items:
            type: string
            enum:
              - linear16
              - linear32
              - mulaw
              - alaw
              - opus
              - amr_nb
              - speex
          anyOf:
            - maxItems: 0
            - contains:
                const: linear32
        supported_sample_rates:
          type: array
          title: Supported Sample Rates
          description: >-
            Audio sample rates (Hz) your engine accepts, from 1 to 48000. It
            must include `16000`, the rate calls and AI Assistants send.
            Declaring none (or an empty list) means your engine receives 8000 or
            16000 Hz audio; to receive any other rate, list it.
          items:
            type: integer
            minimum: 1
            maximum: 48000
          anyOf:
            - maxItems: 0
            - contains:
                const: 16000
        models:
          type: array
          title: Models
          description: >-
            The models your engine offers, each with the languages it supports.
            A caller selects one by sending its `name` as `model` next to the
            engine's name; your engine receives it as the `model` connect
            parameter. At least one, up to 20; each `name` is 1-32 characters:
            lowercase letters, digits, hyphens, underscores and dots, starting
            with a letter or digit. A model's `supported_languages` is its own
            list: a model that lists none accepts any language. Models and their
            languages are reviewed with the engine: changing them requires
            re-approval. Sending `models` replaces the whole list.
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/CommunitySttEngineModel'
          example:
            - name: v1
              supported_languages:
                - en
            - name: v2
              supported_languages:
                - en
                - es
        default_model:
          type: string
          pattern: ^[a-z0-9][a-z0-9_.-]{0,31}$
          title: Default Model
          description: >-
            The model used when a call names none. Must be the `name` of one of
            `models`. Required when the engine has more than one model; with a
            single model it is that model and may be omitted.
          example: v2
        documentation_url:
          type:
            - string
            - 'null'
          format: uri
          maxLength: 2048
          pattern: ^https://[^\s/?#@]+(?:[/?#]\S*)?$
          title: Documentation URL
          description: >-
            An `https://` page where callers learn how to get a key for your
            engine and how to use it, with a host and no credentials in it, at
            most 2048 characters. Send `null` to clear it; omit the field to
            leave it unchanged.
        connect_timeout_ms:
          type: integer
          title: Connect Timeout (ms)
        visibility:
          $ref: '#/components/schemas/CommunitySttEngineVisibility'
        contact_email:
          type:
            - string
            - 'null'
          title: Contact Email
          description: Send `null` to clear it; omit the field to leave it unchanged.
        data_retention_policy_url:
          type:
            - string
            - 'null'
          title: Data Retention Policy URL
          description: Send `null` to clear it; omit the field to leave it unchanged.
        fallback_engine:
          type:
            - string
            - 'null'
          title: Fallback Engine
          description: Send `null` to clear it; omit the field to leave it unchanged.
    CommunitySttEngine:
      type: object
      title: CommunitySttEngine
      description: >-
        The full record of a community STT engine you own. Select it by the
        engine's `name` (not its `id`), with your own key for it
        (`api_key_ref`): on an assistant, `model` is the name, or
        `<name>/<model>` for one of its `models`; on Call Control, WebSocket
        streaming and TeXML, the name goes in the engine field and the model in
        a separate field.
      required:
        - id
        - name
        - websocket_url
        - models
        - default_model
        - status
        - visibility
        - user_id
        - organization_id
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
          description: >-
            The engine's unique name. Send it as the engine (for example the
            start of `model` on an assistant).
        websocket_url:
          type: string
          title: Websocket URL
        supported_encodings:
          type:
            - array
            - 'null'
          title: Supported Encodings
          items:
            type: string
        supported_sample_rates:
          type:
            - array
            - 'null'
          title: Supported Sample Rates
          items:
            type: integer
        models:
          type: array
          title: Models
          description: >-
            The models your engine offers, each with the languages it supports.
            A caller selects one by sending its `name` as `model` next to the
            engine's name; your engine receives it as the `model` connect
            parameter. At least one, up to 20; each `name` is 1-32 characters:
            lowercase letters, digits, hyphens, underscores and dots, starting
            with a letter or digit. A model's `supported_languages` is its own
            list: a model that lists none accepts any language. Models and their
            languages are reviewed with the engine: changing them requires
            re-approval. Sending `models` replaces the whole list.
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/CommunitySttEngineModel'
          example:
            - name: v1
              supported_languages:
                - en
            - name: v2
              supported_languages:
                - en
                - es
        default_model:
          type: string
          title: Default Model
          description: >-
            The model used when a call names none: the `name` of one of
            `models`. Always present; with a single model, it is that model.
          example: v2
        documentation_url:
          type:
            - string
            - 'null'
          title: Documentation URL
          description: >-
            An `https://` page where callers learn how to get a key for your
            engine and how to use it.
        connect_timeout_ms:
          type: integer
          title: Connect Timeout (ms)
        status:
          $ref: '#/components/schemas/CommunitySttEngineStatus'
        visibility:
          $ref: '#/components/schemas/CommunitySttEngineVisibility'
        review_status:
          oneOf:
            - $ref: '#/components/schemas/CommunitySttEngineReviewStatus'
            - type: 'null'
        review_notes:
          type:
            - string
            - 'null'
          title: Review Notes
          description: An admin's note, set only alongside a `rejected` review decision.
        reviewed_at:
          type:
            - string
            - 'null'
          format: date-time
          title: Reviewed At
        contact_email:
          type:
            - string
            - 'null'
          title: Contact Email
        data_retention_policy_url:
          type:
            - string
            - 'null'
          title: Data Retention Policy URL
        fallback_engine:
          type:
            - string
            - 'null'
          title: Fallback Engine
        user_id:
          type: string
          title: User Id
        organization_id:
          type: string
          title: Organization Id
        created_at:
          type:
            - string
            - 'null'
          format: date-time
          title: Created At
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          title: Updated At
    ValidationErrorResponse:
      type: object
      title: ValidationErrorResponse
      description: >-
        Keys are the invalid field names; values are the list of validation
        messages for that field.
      properties:
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    CommunitySttEngineModel:
      type: object
      title: Community STT Engine Model
      description: One model an engine offers, with the languages it supports.
      required:
        - name
      additionalProperties: false
      properties:
        name:
          type: string
          title: Name
          description: >-
            The model's name, sent by callers as `model` and to your engine as
            the `model` connect parameter. 1-32 characters: lowercase letters,
            digits, hyphens, underscores and dots, starting with a letter or
            digit.
          pattern: ^[a-z0-9][a-z0-9_.-]{0,31}$
          example: large-v3
        supported_languages:
          type: array
          title: Supported Languages
          description: >-
            The languages this model supports. Omit or leave empty for no
            restriction. A model's languages are its own.
          maxItems: 100
          uniqueItems: true
          items:
            type: string
            minLength: 1
            maxLength: 35
          example:
            - en
            - es
            - multi
    CommunitySttEngineVisibility:
      type: string
      title: Visibility
      description: >-
        `private`: listed only for the owning organization, and usable only by
        it while `status` is `draft` or `active`. `public`: once `status` is
        `active`, listed for every organization via `GET
        /stt_integrations/discoverable` and usable by any organization, by the
        engine's `name`. A public engine that is not `active` (`draft`,
        `disabled` or `suspended`) is not usable by other organizations.
      enum:
        - private
        - public
    CommunitySttEngineStatus:
      type: string
      title: Status
      description: >-
        Whether the engine can serve traffic right now — independent of
        `visibility` and `review_status`. `draft`: not yet approved (new and
        awaiting its first review, rejected and awaiting a fix, or approved
        earlier and awaiting re-review after a review-sensitive change).
        `active`: serving traffic. `disabled`: owner-paused, reversible via
        `enable`. `suspended`: Telnyx-paused (an SLA or abuse action) — the
        owner cannot clear this by calling `enable`; Telnyx can reinstate it.
      enum:
        - draft
        - active
        - disabled
        - suspended
    CommunitySttEngineReviewStatus:
      type: string
      title: Review Status
      description: >-
        `pending`: submitted, awaiting an admin decision. `approved`: currently
        approved for its last-submitted configuration. `rejected`: the last
        submission was declined; see `review_notes`. `null`: never submitted, or
        a since-approved engine had a review-sensitive field change and needs
        re-approval.
      enum:
        - pending
        - approved
        - rejected
    BusinessErrorResponse:
      type: object
      title: BusinessErrorResponse
      properties:
        errors:
          type: object
          properties:
            detail:
              type: string
              title: Detail
  responses:
    NotFound:
      description: The community STT engine does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BusinessErrorResponse'
          example:
            errors:
              detail: The community STT engine {id} does not exist.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````