MINARA

Attach spoken-reply audio to a message

POST /v1/sessions/:id/voice-audio — Attach a previously-uploaded audio file (POST /v1/files) to an assistant message's metadata so the session history can r

POST /v1/sessions/:id/voice-audio

Attach a previously-uploaded audio file (POST /v1/files) to an assistant message's metadata so the session history can replay the exact spoken reply. message_id optional; defaults to the latest assistant message.

MethodPOST
Path/v1/sessions/:id/voice-audio
AuthAuthorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set
Categoryvoice

Request body

{ "file_key": "chat/files/...", "message_id": 123 }

Response body

{ "ok": true, "message_id": 123 }

On this page