Legs

Inject a message into a running agent session on a leg

Sends a context message or instruction to the running agent. Supported by Deepgram (InjectAgentMessage), Pipecat (TextFrame), and VAPI (control URL). Returns 501 for ElevenLabs.

post/legs/{id}/agent/message

Request body

messagestring required

Context or instruction to inject into the running agent session

Response

Message sent

instance_idstring

Instance identifier

statusstring required

Changes

Changed in 2 of the 67 revisions of this API.11