Stop an active audio stream transcription task.
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | The task ID returned when starting the stream |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code (200 indicates success) |
| message | string | Response message describing the operation result |
| data | object | Response data object |
| data.task_id | string | The task ID of the stopped stream |
| data.message | string | Confirmation message |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code (200) |
| message | string | Response message (“SUCCESS”) |
| task_id | string | The task ID of the stopped stream |
| data | object | Wrapper object |
| data.segment_index | integer | Last segment index |
| data.segment_start_time | string | Last segment start time |
| data.segment_end_time | string | Last segment end time |
| data.status | integer | Status code (14 indicates user stopped) |
| data.message | string | ”Stream stopped by user” |
| data.transcript | null | No transcript for stop callbacks |
| HTTP Code | Description |
|---|---|
| 400 | Invalid task_id or task not found |
| 401 | Unauthorized - invalid API key |
| 500 | Internal server error |
The task ID returned when starting the stream
"660e8400-e29b-41d4-a716-446655440001"