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.
| Method | POST |
| Path | /v1/sessions/:id/voice-audio |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | voice |
Request body
{ "file_key": "chat/files/...", "message_id": 123 }Response body
{ "ok": true, "message_id": 123 }