In-app assistant
POST /assistant/sessions/{id}/voice-turns 工作階段或 API 金鑰
Append one completed spoken exchange to the transcript.
Only on an interview session. Lets a call continued by typing carry the spoken turns forward in context. Returns 204 No Content.
路徑參數
idstring (UUID) 必填- The session id.
請求內容
rolestring 必填userorassistant.範例usercontentstring 必填- The transcribed/spoken text.
curl -X POST "https://freehire.me/api/v1/assistant/sessions/<id>/voice-turns" \
-H "Authorization: Bearer $FREEHIRE_API_KEY" -H 'Content-Type: application/json' \
-d '{"role":"user","content":"I led the migration to Kubernetes."}'