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

# Stop LIVE Transcription

> Stop transcribing a room. The session ends within a few seconds (`status: "ended"`, `end_reason: "stopped"`); until then the answer shows `stop_requested: true`. What was transcribed stays readable for 24 hours. Stopping a session that is already over changes nothing and answers its final state.

Stop a [LIVE transcription session](https://docs.vidnavigator.com/api-reference/endpoint/tiktok-live-transcribe.md).

## Overview

The session ends within a few seconds, with `status: "ended"` and `end_reason: "stopped"`. Until then the answer shows `stop_requested: true`.

- What was transcribed stays readable for 24 hours, with [`GET /tiktok/live/transcribe/{session_id}`](https://docs.vidnavigator.com/api-reference/endpoint/tiktok-live-transcribe-session.md).
- Stopping a session that is already over changes nothing and answers its final state.
- Billing stops with the session: only the time transcribed is billed. See [Usage Costs](https://docs.vidnavigator.com/api-reference/usage-costs.md#tiktok-live-transcription).
- The room can be transcribed again later: [start a new session](https://docs.vidnavigator.com/api-reference/endpoint/tiktok-live-transcribe.md).

## Path Parameter

- `session_id` (string, required): the `id` of the session, as returned when it was started.

## Example Usage

```bash cURL
curl -X DELETE "https://api.vidnavigator.com/v1/tiktok/live/transcribe/3f0c1c1e-7a52-4d0e-9a3b-0d2f8c1b7e55" \
  -H "X-API-Key: YOUR_API_KEY"
```

```python Python
from vidnavigator import VidNavigatorClient

client = VidNavigatorClient(api_key="YOUR_API_KEY")
resp = client.stop_tiktok_live_transcription("3f0c1c1e-7a52-4d0e-9a3b-0d2f8c1b7e55")

print(resp.data.session.status, resp.data.session.stop_requested)
```

```javascript JavaScript
import { VidNavigatorClient } from 'vidnavigator';

const vn = new VidNavigatorClient({ apiKey: 'YOUR_API_KEY' });
const { session } = await vn.stopTikTokLiveTranscription('3f0c1c1e-7a52-4d0e-9a3b-0d2f8c1b7e55');

console.log(session.status, session.stop_requested);
```

## Success Response (200)

The session, stopped or being stopped:

```json
{
  "status": "success",
  "data": {
    "session": {
      "id": "3f0c1c1e-7a52-4d0e-9a3b-0d2f8c1b7e55",
      "status": "listening",
      "end_reason": null,
      "error": null,
      "room": {
        "id": "7705498471838665494",
        "title": "Late night Q&A",
        "url": "https://www.tiktok.com/@creator/live",
        "author": { "unique_id": "creator", "nickname": "Creator" }
      },
      "language": "en",
      "include_partials": false,
      "include_speakers": false,
      "max_duration_minutes": 120,
      "created_at": "2026-12-03T11:18:19.412Z",
      "started_at": "2026-12-03T11:18:20.031Z",
      "ended_at": null,
      "duration_seconds": 1830.4,
      "segments_count": 412,
      "stop_requested": true
    }
  }
}
```

A few seconds later the session reads `"status": "ended"`, `"end_reason": "stopped"`, with its `ended_at`. The [event stream](https://docs.vidnavigator.com/api-reference/endpoint/tiktok-live-transcribe-events.md) sends its `ended` event, and a session started with a `webhook_url` gets a `tiktok_live_transcribe.ended` delivery.

## Error Cases

| Status | `error`             | When                                                                               |
| ------ | ------------------- | ---------------------------------------------------------------------------------- |
| `403`  | `access_denied`     | LIVE transcription is not enabled for your organization                            |
| `404`  | `session_not_found` | No session with this `id` in your organization, or it ended more than 24 hours ago |

## OpenAPI

````yaml DELETE /tiktok/live/transcribe/{session_id}
openapi: 3.0.3
info:
  title: VidNavigator Developer API
  version: 1.0.0
servers:
  - url: https://api.vidnavigator.com/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /tiktok/live/transcribe/{session_id}:
    delete:
      summary: Stop a LIVE transcription session
      description: 'Stop transcribing a room. The session ends within a few seconds (`status: "ended"`, `end_reason: "stopped"`); until then the answer shows `stop_requested: true`. What was transcribed stays readable for 24 hours. Stopping a session that is already over changes nothing and answers its final state.'
      operationId: stopTikTokLiveTranscription
      tags:
        - Speech to text
      parameters:
        - name: session_id
          in: path
          required: true
          description: The `id` of the session, as returned when it was started.
          schema:
            type: string
            format: uuid
      responses:
        "200":
          description: The session, stopped or being stopped.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  data:
                    type: object
                    properties:
                      session:
                        $ref: "#/components/schemas/LiveTranscriptionSession"
        "401":
          $ref: "#/components/responses/Unauthorized"
        "403":
          description: LIVE transcription is not enabled for the organization of this API key (`access_denied`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  error:
                    type: string
                    enum:
                      - access_denied
                      - insufficient_scope
                  error_code:
                    type: string
                    enum:
                      - access_denied
                      - insufficient_scope
                  message:
                    type: string
        "404":
          description: No session with this id in your organization (`session_not_found`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  error:
                    type: string
                    enum:
                      - session_not_found
                  error_code:
                    type: string
                    enum:
                      - session_not_found
                  message:
                    type: string
        "429":
          $ref: "#/components/responses/RateLimitExceeded"
        "500":
          $ref: "#/components/responses/InternalServerError"
        "503":
          $ref: "#/components/responses/ServiceUnavailable"
components:
  schemas:
    LiveTranscriptionSession:
      type: object
      description: A real-time transcription session on one TikTok LIVE room.
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - starting
            - listening
            - ended
            - failed
          description: "`starting`: accepted, not listening yet (a second or two). `listening`: the room is being transcribed. `ended`: over, see `end_reason`. `failed`: could not go on, see `error`."
        end_reason:
          type: string
          nullable: true
          enum:
            - live_ended
            - stopped
            - max_duration_reached
            - insufficient_credits
            - no_reader
          description: "Why an `ended` session ended: the LIVE ended, you stopped it, `max_duration_minutes` was reached, the organization ran out of credits, or nobody followed the session for a while (`no_reader`: no event stream open on it, no read of it, no webhook delivering; see https://docs.vidnavigator.com/guides/tiktok-live-transcription). Null otherwise."
        error:
          type: object
          nullable: true
          description: Why a `failed` session failed. Null otherwise.
          properties:
            code:
              type: string
              enum:
                - transcription_unavailable
                - stream_unavailable
                - internal_error
              description: "`transcription_unavailable`: the transcription could not go on. `stream_unavailable`: the sound of the LIVE could not be read. `internal_error`: an unexpected error."
            message:
              type: string
        room:
          type: object
          description: The room being transcribed.
          properties:
            id:
              type: string
              example: "7705498471838665494"
            title:
              type: string
              nullable: true
            url:
              type: string
              nullable: true
              example: https://www.tiktok.com/@tiktok/live
            author:
              type: object
              properties:
                unique_id:
                  type: string
                  nullable: true
                nickname:
                  type: string
                  nullable: true
        language:
          type: string
          nullable: true
          description: The `language` given when the session was started, if any.
        include_partials:
          type: boolean
        include_speakers:
          type: boolean
        max_duration_minutes:
          type: integer
        created_at:
          type: string
          format: date-time
        started_at:
          type: string
          format: date-time
          nullable: true
          description: When the session started listening.
        ended_at:
          type: string
          format: date-time
          nullable: true
        duration_seconds:
          type: number
          description: Seconds of the LIVE transcribed so far.
        segments_count:
          type: integer
          description: "Final sentences so far: the `seq` of the last one."
        stop_requested:
          type: boolean
          description: True once a stop was asked and until the session has ended.
  responses:
    Unauthorized:
      description: The API key is missing (`missing_api_key`), unknown or malformed (`invalid_api_key`), or deactivated (`api_key_deactivated`).
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                enum:
                  - error
              error:
                type: string
                enum:
                  - missing_api_key
                  - invalid_api_key
                  - api_key_deactivated
              error_code:
                type: string
                description: Same as `error`.
              message:
                type: string
    RateLimitExceeded:
      description: "Too many requests (`rate_limit_exceeded`). Wait `Retry-After` seconds before the next call. Limits: https://docs.vidnavigator.com/api-reference/rate-limiting"
      headers:
        Retry-After:
          description: Seconds to wait before the next call.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Calls allowed in the current window for this kind of call.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: "Calls left in the current window: 0 on this answer."
          schema:
            type: integer
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                enum:
                  - error
              error:
                type: string
                enum:
                  - rate_limit_exceeded
              error_code:
                type: string
                description: Same as `error`.
              message:
                type: string
              retry_after_seconds:
                type: integer
                description: Same as the `Retry-After` header.
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                enum:
                  - error
              error:
                type: string
                enum:
                  - metadata_fetch_failed
                  - audio_extraction_failed
                  - transcription_failed
                  - internal_server_error
              message:
                type: string
    ServiceUnavailable:
      description: "The service is briefly unable to authenticate or bill the request (`service_unavailable`). Nothing was charged: retry after the `Retry-After` seconds."
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                enum:
                  - error
              error:
                type: string
                enum:
                  - service_unavailable
              error_code:
                type: string
                description: Same as `error`.
              message:
                type: string
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key authentication. Include your VidNavigator API key in the X-API-Key header.
````
