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 by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset)
Categoryvoice

Request body

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

Response body

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

On this page