Tiro Realtime Transcription API

Create, get, list, and end realtime transcription sessions. Audio and results flow over the WebSocket at `wsUrl`, documented in [WebSocket protocol](/en/developers/realtime-transcription/protocol). Available to Enterprise plan customers on request.

GitHub OpenAPI

Operations 4

POST /v1/external/realtime-transcriptions Create Realtime Transcription #
GET /v1/external/realtime-transcriptions List Realtime Transcriptions #
GET /v1/external/realtime-transcriptions/{id} Get Realtime Transcription #
POST /v1/external/realtime-transcriptions/{id}/end End Realtime Transcription #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tiro-ooo:tiro-ooo-realtime-transcription-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tiro-ooo-realtime-transcription-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tiro Ooo Realtime Transcription API
  version: 1.0.0
  contact:
    name: Tiro Support
    email: support@tiro.ooo
    url: https://tiro.ooo
  description: 'Operations tagged Realtime Transcription across 2 of this provider''s published API definitions: openapi.yaml, tiro-ooo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.tiro.ooo
  description: Production server
security:
- BearerAuth: []
tags:
- name: Realtime Transcription
  description: 'Create, get, list, and end realtime transcription sessions. Audio and results flow over the

    WebSocket at `wsUrl`, documented in WebSocket protocol.

    Available to Enterprise plan customers on request.'
paths:
  /v1/external/realtime-transcriptions:
    post:
      summary: Create Realtime Transcription
      description: 'Create a realtime transcription session and get the WebSocket URL and stream token to stream audio.


        The Realtime Transcription API is available to Enterprise plan customers on request. Tiro must enable it for the workspace first.


        - Call this from your server. Pass `wsUrl` and `streamToken` to the client that streams audio, and keep the API key on the server

        - Connect to `wsUrl` with the `Authorization: Bearer ` header, then send 16 kHz mono PCM s16le audio as binary frames

        - `streamToken` appears only in this response. Reuse it to reconnect while the session is `OPEN`

        - Requires a workspace API key, or an account API key bound to the workspace whose owner is a workspace member

        - Each workspace can have 10 `OPEN` sessions at once. At capacity, creating a session can reclaim a disconnected slot after a 30-second grace period

        - Tiro does not create notes and does not keep the audio. Results arrive only over the WebSocket


        Documentation: Quickstart, WebSocket protocol'
      operationId: createRealtimeTranscription
      tags:
      - Realtime Transcription
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceGuid:
                  type: string
                  description: 'Optional. Defaults to the key''s workspace. If set, it must equal the key''s workspace GUID, otherwise the request fails with `403` `workspace_access_denied`.

                    '
                  example: Wk8sQ2mLx1aB7
                transcriptionLocale:
                  type: string
                  nullable: true
                  description: 'Language to transcribe. Omit it, send `null`, or send `AUTO` to detect the spoken language.

                    Accepts `ko_KR`, `ko-KR`, and `ko`, case-insensitive. A language-only tag resolves to its supported region. Regions outside the [supported locales](/en/developers/fundamentals/supported-locales), such as `en-GB`, return `400` `unsupported_language`.

                    '
                  example: ko_KR
                translationLocale:
                  type: string
                  nullable: true
                  description: 'One language to translate into. Omit both translation options for transcription only.

                    Uses the same format as `transcriptionLocale`. `AUTO`, or the same language as `transcriptionLocale`, returns `400` `invalid_request`.

                    '
                  example: en_US
                translationLanguagePair:
                  type: array
                  minItems: 2
                  maxItems: 2
                  uniqueItems: true
                  items:
                    type: string
                  description: Two distinct languages for bidirectional translation. Omit a fixed source language and translationLocale when using this option.
                  example:
                  - ko_KR
                  - en_US
                speakerLabels:
                  type: boolean
                  default: false
                  description: Request connection-scoped speaker labels on transcript events.
                vocabulary:
                  type: array
                  maxItems: 100
                  items:
                    type: string
                  description: Up to 100 nonblank recognition terms. All serialized session options together must fit within 3072 bytes. The stream token may contain these terms and must remain private.
                segmentTargetMs:
                  type: integer
                  minimum: 1000
                  maximum: 60000
                  default: 10000
                  description: Target source transcript line duration in milliseconds. Segments can extend to a natural boundary. Send the segment.finalize WebSocket control to request an earlier boundary.
            example:
              transcriptionLocale: ko_KR
              translationLocale: en_US
      responses:
        '201':
          description: Session created. The response includes `streamToken`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RealtimeTranscription'
              example:
                id: Rt7Yq2PbX9cDk
                workspaceGuid: Wk8sQ2mLx1aB7
                apiKeyId: tk_8f2a91c0d3e4
                status: OPEN
                endReason: null
                wsUrl: wss://api.tiro.ooo/v1/external/realtime-transcriptions/Rt7Yq2PbX9cDk/stream
                streamToken: rtt_5Hq3...
                maxDurationMs: 10800000
                audioDurationMs: 0
                transcriptionLocale: ko_KR
                translationLocale: en_US
                createdAt: '2026-11-05T09:00:00Z'
                endedAt: null
        '400':
          description: '`400000 bad_request` with `detail.reason` `invalid_request` when the body is not valid JSON or a field has the wrong type. Check `detail.fields`.


            `400023 bad_request` with `detail.reason` `invalid_request` when a value breaks a rule, such as `translationLocale` set to `AUTO` or to the transcription language. Check `detail.fields`.


            `400024 bad_request` with `detail.reason` `unsupported_language` when a locale is not supported. Check `detail.field` and `detail.value`.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key is missing or invalid. Send a valid key in the Authorization header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`403013 forbidden` (`insufficient_scope`) when the key lacks `realtime_transcription:write`. OAuth access tokens also get this response.


            `403024 forbidden` (`workspace_bound_key_required`) for an account API key not bound to a workspace or an organization API key. Use a key bound to the workspace.


            `403025 forbidden` (`workspace_access_denied`) when `workspaceGuid` differs from the key''s workspace, or the account API key owner is not a workspace member.


            `403026 forbidden` (`realtime_api_not_enabled`) when the workspace does not have the Realtime Transcription API enabled. Contact Tiro to enable it.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The key's workspace was deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: '`409043 conflict` (`concurrent_transcription_limit`) when all 10 workspace slots are reserved and no disconnected slot can be reclaimed. `detail.limit` holds the limit. Find unused sessions with List Realtime Transcriptions, end them, and try again.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: 409043
                  errorType: conflict
                  message: Concurrent realtime transcription limit reached for this workspace
                  detail:
                    reason: concurrent_transcription_limit
                    limit: 10
    get:
      summary: List Realtime Transcriptions
      description: 'List the realtime transcription sessions in the key''s workspace, newest first, with cursor pagination.


        Use it to check open slots or to find sessions that were left `OPEN` and end them. The list covers every session in the workspace, not only those created by this key. Filter by `apiKeyId` to see one key''s sessions.'
      operationId: listRealtimeTranscriptions
      tags:
      - Realtime Transcription
      parameters:
      - name: workspaceGuid
        in: query
        required: false
        description: Defaults to the key's workspace. If set, it must equal the key's workspace GUID.
        schema:
          type: string
        example: Wk8sQ2mLx1aB7
      - name: status
        in: query
        required: false
        description: Return only sessions with this status. Case-sensitive. Other values return `400`.
        schema:
          type: string
          enum:
          - OPEN
          - ENDED
        example: OPEN
      - name: apiKeyId
        in: query
        required: false
        description: Return only sessions created by this API key. A key outside the workspace returns an empty list.
        schema:
          type: string
        example: tk_8f2a91c0d3e4
      - name: cursor
        in: query
        required: false
        description: The `nextCursor` from the previous response. Omit it for the first page.
        schema:
          type: string
        example: eyJpZCI6MTIzfQ
      - name: size
        in: query
        required: false
        description: Page size. Values outside 1 to 100 are clamped to that range.
        schema:
          type: integer
          default: 20
          minimum: 1
          maximum: 100
        example: 20
      responses:
        '200':
          description: A page of sessions. `streamToken` is never included.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PageCursorResponse'
                - type: object
                  properties:
                    content:
                      type: array
                      items:
                        $ref: '#/components/schemas/RealtimeTranscription'
        '400':
          description: '`400000 bad_request` with `detail.reason` `invalid_request` and `detail.fields` `["status"]` when `status` is not `OPEN` or `ENDED`.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`403013 forbidden` (`insufficient_scope`) when the key lacks `realtime_transcription:read`.


            `403024 forbidden` (`workspace_bound_key_required`) or `403025 forbidden` (`workspace_access_denied`) under the same rules as Create Realtime Transcription.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`404039 not_found` without `detail.reason` when the key''s workspace was deleted.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.tiro.ooo
      description: Production server
  /v1/external/realtime-transcriptions/{id}:
    get:
      summary: Get Realtime Transcription
      description: 'Get the status of a realtime transcription session. The response has the same shape as the create response, without `streamToken`.


        A session that ends while no WebSocket connection is open cannot send `session.ended`. Use this endpoint to read its `endReason`.'
      operationId: getRealtimeTranscription
      tags:
      - Realtime Transcription
      parameters:
      - name: id
        in: path
        required: true
        description: The session `id` returned from Create Realtime Transcription.
        schema:
          type: string
        example: Rt7Yq2PbX9cDk
      responses:
        '200':
          description: Session details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RealtimeTranscription'
        '401':
          description: The API key is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`403013 forbidden` (`insufficient_scope`) when the key lacks `realtime_transcription:read`.


            `403024 forbidden` (`workspace_bound_key_required`) for an account API key not bound to a workspace or an organization API key.


            `403025 forbidden` (`workspace_access_denied`) when the account API key owner is not a member of the key''s workspace.


            This endpoint works even when the Realtime Transcription API is turned off for the workspace.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`404050 not_found` (`realtime_transcription_not_found`) when the session does not exist or does not belong to the key''s workspace.


            `404039 not_found` without `detail.reason` when the key''s workspace was deleted.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.tiro.ooo
      description: Production server
  /v1/external/realtime-transcriptions/{id}/end:
    post:
      summary: End Realtime Transcription
      description: 'End a realtime transcription session. No request body. The call is idempotent. Ending a session that already ended returns `200` with the current session.


        - With no open connection, the session moves to `ENDED` with `endReason` `CLIENT_REQUESTED`

        - With an open connection, Tiro sends the remaining results, `session.ended`, and close `1000` on that connection after this response returns

        - Use it when the client cannot send `session.end`, so the session stops holding a concurrent slot'
      operationId: endRealtimeTranscription
      tags:
      - Realtime Transcription
      parameters:
      - name: id
        in: path
        required: true
        description: The session `id` returned from Create Realtime Transcription.
        schema:
          type: string
        example: Rt7Yq2PbX9cDk
      responses:
        '200':
          description: The session after the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RealtimeTranscription'
        '401':
          description: The API key is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`403013 forbidden` (`insufficient_scope`) when the key lacks `realtime_transcription:write`.


            `403024 forbidden` (`workspace_bound_key_required`) for an account API key not bound to a workspace or an organization API key.


            `403025 forbidden` (`workspace_access_denied`) when the account API key owner is not a member of the key''s workspace.


            This endpoint works even when the Realtime Transcription API is turned off for the workspace.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`404050 not_found` (`realtime_transcription_not_found`) when the session does not exist or does not belong to the key''s workspace.


            `404039 not_found` without `detail.reason` when the key''s workspace was deleted.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://api.tiro.ooo
      description: Production server
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - errorType
          - message
          properties:
            code:
              type: integer
              description: '6-digit error code in `AAABBB` form: first 3 digits match the HTTP status,

                last 3 digits are a per-status serial (e.g. `404018`). Use only when you need

                to distinguish specific error cases within the same HTTP status — values may be

                added or renumbered across releases. For general client branching, prefer `errorType`.

                '
              example: 404018
            errorType:
              type: string
              description: "Stable, coarse-grained error category. Recommended default for client-side\nbranching: the value-to-status mapping is part of the API contract and will not\nchange without a breaking-change notice. Typical use:\n  - `unauthorized` → trigger re-authentication\n  - `forbidden` → surface a permission error to the user\n  - `not_found` → treat as missing resource\n  - `too_many_requests` → back off and retry\n  - `internal_error` → retry with exponential backoff\n"
              enum:
              - bad_request
              - unauthorized
              - forbidden
              - not_found
              - not_acceptable
              - conflict
              - payload_too_large
              - unprocessable_entity
              - too_many_requests
              - internal_error
              example: not_found
            message:
              type: string
              description: Human-readable error message. Not stable; do not use for branching.
              example: 'No team found for user #217'
            detail:
              description: Additional error details. Authorization failures may include a reason and required scopes.
              oneOf:
              - type: string
                nullable: true
              - type: object
                additionalProperties: true
                properties:
                  reason:
                    type: string
                    example: insufficient_scope
                  required:
                    type: array
                    items:
                      type: string
                    example:
                    - folder:read
              example: null
    RealtimeTranscription:
      type: object
      description: 'A realtime transcription session. Results are delivered only over the WebSocket at `wsUrl`, not through this resource.

        See [WebSocket protocol](/en/developers/realtime-transcription/protocol).

        '
      required:
      - id
      - workspaceGuid
      - status
      - wsUrl
      - maxDurationMs
      - audioDurationMs
      - createdAt
      properties:
        id:
          type: string
          description: Session ID.
          example: Rt7Yq2PbX9cDk
        workspaceGuid:
          type: string
          description: Workspace the session belongs to. Concurrent sessions are counted per workspace.
          example: Wk8sQ2mLx1aB7
        apiKeyId:
          type: string
          nullable: true
          description: Public ID of the API key that created the session, matching `apiKeyId` from `GET /v1/external/auth/me`. `null` only when Tiro can no longer find that key.
          example: tk_8f2a91c0d3e4
        status:
          type: string
          enum:
          - OPEN
          - ENDED
          description: '- `OPEN`: Tiro accepts audio. You can connect and reconnect. The session holds a concurrent slot

            - `ENDED`: The session is over. You cannot reconnect


            New values can appear. Treat an unknown value as not `ENDED`.

            '
          example: OPEN
        endReason:
          type: string
          nullable: true
          enum:
          - CLIENT_REQUESTED
          - IDLE_TIMEOUT
          - MAX_DURATION
          - INTERNAL_ERROR
          description: 'Why the session ended. `null` while `OPEN`.

            - `CLIENT_REQUESTED`: WebSocket `session.end` or End Realtime Transcription

            - `IDLE_TIMEOUT`: No audio for 15 minutes, or a slot reclaimed at workspace capacity after a 30-second disconnection grace period

            - `MAX_DURATION`: 3 hours since the first connection

            - `INTERNAL_ERROR`: Tiro could not continue the session


            New values can appear. Treat an unknown value as a normal end.

            '
          example: null
        wsUrl:
          type: string
          description: WebSocket URL to connect to. Use it as returned. Do not build or hard-code the host or path.
          example: wss://api.tiro.ooo/v1/external/realtime-transcriptions/Rt7Yq2PbX9cDk/stream
        streamToken:
          type: string
          description: 'Token for the WebSocket `Authorization: Bearer` header. Present only in the Create Realtime Transcription response.

            Treat the entire token as opaque and confidential. Its length varies with session options. Valid for this session while it is `OPEN`.

            '
          example: rtt_5Hq3...
        maxDurationMs:
          type: integer
          format: int64
          description: Maximum session length, counted from the first connection. Currently 10,800,000 (3 hours).
          example: 10800000
        audioDurationMs:
          type: integer
          format: int64
          description: Audio length Tiro has received so far, including connections that already closed.
          example: 0
        transcriptionLocale:
          type: string
          nullable: true
          description: Transcription locale applied to the session. `null` means auto detection.
          example: ko_KR
        translationLocale:
          type: string
          nullable: true
          description: One-way translation target. Null for both transcription-only and two-way sessions.
          example: en_US
        createdAt:
          type: string
          format: date-time
          description: When the session was created.
          example: '2026-11-05T09:00:00Z'
        endedAt:
          type: string
          format: date-time
          nullable: true
          description: When the session ended. `null` while `OPEN`.
          example: null
    PageCursorResponse:
      type: object
      required:
      - content
      - nextCursor
      properties:
        content:
          type: array
          items: {}
          description: Array of items for current page
        nextCursor:
          type: string
          nullable: true
          description: Cursor for next page, null if last page
          example: opaque-cursor-string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key in format `{id}.{secret}`.


        The notes an endpoint returns depend on the key type. A **user key** reaches the

        notes that user can see in the app, including notes in their own private folders.

        A **system key** (workspace or organization, no user identity) reaches only notes

        that sit in a folder shared with all workspace members. Notes in a private folder,

        in a folder shared with only some members, or in no folder at all fall outside a

        system key''s read scope, and scopes do not widen that boundary.


        List and search endpoints drop out-of-scope notes from the response without an

        error. Single-note reads and their sub-resources return `404`, the same response

        as a deleted note. See [What notes a system key reads](https://docs.tiro.ooo/en/developers/fundamentals/system-key-note-scope).

        '
x-refined-from:
- openapi.yaml
- tiro-ooo-openapi.yml