---
title: "Transcribe Audio"
method: POST
path: "/api/message/transcribe_audio"
tags: ["Message"]
---

# Transcribe Audio

`POST /api/message/transcribe_audio`

Uses `whisper-1` to transcribe an audio file passed in as a base64 encoded string.

## Headers

- `TR-Dataset` string, uuid, required

## Request body

- TranscribeAudioReqPayload
  - `base64_audio` string, required — The base64 encoded audio input of the user's input message.

## Response `200`

The transcribed text

## Other responses

- `400` — Service error relating to transcribing the audio

## Changes

- **2025-05-27** `922ad3ecfee5` — 1 info
  - endpoint added
- **2025-04-24** `661f8d6f359b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/devflowinc/apis/trieve-api/changes/api/message/transcribe_audio/post.md)

---

[API](https://skmtc.dev/devflowinc/apis/trieve-api.md) · [All operations](https://skmtc.dev/devflowinc/apis/trieve-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devflowinc/trieve-api/revisions/84583e7c9fc1/schema)
