Movatterモバイル変換


[0]ホーム

URL:


🚀 Introducing Flux, the first conversational speech recognition model built for voice agents. (Learn more!)🚀

HomeAPI ReferenceVoice AgentSpeech-to-TextText-to-SpeechIntelligenceSelf-Hosted Deployments
API ReferenceVoice Agent

Build a Voice Agent

WSS
/v1/agent/converse
Messages
Build a conversational voice agent using Deepgram's Voice Agent WebSocket

HandshakeTry it

WSS
/v1/agent/converse

Headers

AuthorizationstringRequired

Use your API key for authentication, or alternatively generate atemporary token and pass it via thetoken query parameter.

Example:token %DEEPGRAM_API_KEY% orbearer %DEEPGRAM_TOKEN%

Send

AgentV1SettingsobjectRequired
Send settings configuration to Deepgram's Voice Agent API
OR
AgentV1UpdateSpeakobjectRequired
Send update speak to Deepgram's Voice Agent API
OR
AgentV1InjectUserMessageobjectRequired
Send inject user message to Deepgram's Voice Agent API
OR
AgentV1InjectAgentMessageobjectRequired
Send inject agent message to Deepgram's Voice Agent API
OR
AgentV1SendFunctionCallResponseobjectRequired

Send a function call response from the client to the server afterexecuting a client-side function call. This is used when the serverrequests execution of a function marked withclient_side: true.

OR
AgentV1KeepAliveobjectRequired
Send keep alive to Deepgram's Voice Agent API
OR
AgentV1UpdatePromptobjectRequired
Send a prompt update to Deepgram's Voice Agent API
OR
AgentV1MediastringRequiredformat: "binary"
Send raw binary audio data to Deepgram's Voice Agent API for processing

Receive

AgentV1ReceiveFunctionCallResponseobjectRequired

Receive a function call response from the server after the serverhas executed a server-side function call internally. This occurswhen functions are marked withclient_side: false.

OR
AgentV1PromptUpdatedobjectRequired
Receive prompt update from Deepgram's Voice Agent API
OR
AgentV1SpeakUpdatedobjectRequired
Receive speak update from Deepgram's Voice Agent API
OR
AgentV1InjectionRefusedobjectRequired
Receive injection refused message from Deepgram's Voice Agent API
OR
AgentV1WelcomeobjectRequired
Receive welcome message from Deepgram's Voice Agent API
OR
AgentV1SettingsAppliedobjectRequired
Receive settings applied message from Deepgram's Voice Agent API
OR
AgentV1ConversationTextobjectRequired
Receive conversation text from Deepgram's Voice Agent API
OR
AgentV1UserStartedSpeakingobjectRequired
Receive user started speaking message from Deepgram's Voice Agent API
OR
AgentV1AgentThinkingobjectRequired
Receive agent thinking message from Deepgram's Voice Agent API
OR
AgentV1FunctionCallRequestobjectRequired
Receive function call request from Deepgram's Voice Agent API
OR
AgentV1AgentStartedSpeakingobjectRequired
Receive agent started speaking message from Deepgram's Voice Agent API
OR
AgentV1AgentAudioDoneobjectRequired
Receive agent audio done message from Deepgram's Voice Agent API
OR
AgentV1ErrorobjectRequired
Receive error response from Deepgram's Voice Agent API
OR
AgentV1WarningobjectRequired
Receive warning messages from Deepgram's Voice Agent API
OR
AgentV1AudiostringRequiredformat: "binary"
Receive raw binary audio data generated by Deepgram's Voice Agent API

[8]ページ先頭

©2009-2025 Movatter.jp