Get Audio Transcription
Library Management
Get Audio Transcription
Retrieve the speech-to-text transcription of a video’s audio track in your Private Video Library.
GET
Get Audio Transcription
Product: Visual Search
Use case: Upload videos and images, auto-index them, then search by natural language, image, or transcript phrase
Host:
https://api.memories.ai/serve/api/v1
Auth: Authorization: sk-mavi-... (no Bearer prefix)Prerequisites
- You have created a memories.ai API key.
- The video has been uploaded via the Upload API and finished parsing.
- The source video has an audio track. Videos without audio return
data: nulleven when the request succeeds.
Endpoint
GET /serve/api/v1/get_audio_transcriptionRequest Example
Query Parameters
string
required
The video identifier returned by the upload API.
Response Example
Audio track present:Response Fields
string
Business status code.
0000 indicates success — including the “no audio track” case below.string
Human-readable status message.
object | null
The transcription record, or
null if the video has no audio track / no transcription has been produced. Check data is None explicitly rather than relying on the status code.string
Echo of the requested video identifier.
array
Ordered list of transcription segments covering the audio track.
integer
Zero-based index of the segment.
string
Transcribed text for this segment (often with a leading space).
string
Segment start time in seconds, returned as a string.
string
Segment end time in seconds, returned as a string.
string
Upload-time timestamp of the underlying video, in milliseconds since epoch, returned as a string.
string
GCS bucket of the underlying video file. Omitted when the storage location cannot be resolved.
string
GCS blob (object) path of the underlying video. Use it with
video_bucket at GET /serve/api/v2/download?bucket=&blob= to fetch the file directly.boolean
true when code == "0000" — true even on the “no audio track” path.boolean
Inverse of
success.Notes & Limits
- No-audio case is not an error: Videos without an audio track return
code: "0000",success: true,data: null. Check fordataexplicitly. - Numeric strings:
startTime,endTime, andcreateTimeare strings — cast withint(...)before arithmetic. - Rate limiting: Subject to the standard Visual Search rate limits. See Rate limits.
