Voice Agent API Guide
Learn how to run a Hamming Test Agent Programmatically
Important: Before running your Hamming test agent using the API, ensure your test agent is properly set up. For a detailed, step-by-step guide on creating a dataset of scenarios and configuring the prompt, scorer, and voice agent, refer to the Voice Agent Tutorial.
Before You Get Started
In order to set up and run a Hamming voice agent programmatically, you need to have your Dataset ID and Agent ID ready.
Step-by-Step Tutorial
Initiate Agent Test Run
This initiates a series of parallel calls, referred to as a Voice Experiment.
Obtain Voice Experiment Status
This endpoint can be used to check the status of the Voice Experiment.
Obtain Voice Experiment Calls
After the experiment is FINISHED, you can retrieve the score results for the experiment.
Direct Agent Connections (Without Telephony)
For direct agent-to-agent connections without traditional telephony integration, you can use the createLivekitRooms API:
For detailed documentation on direct agent connections, see the Direct Agent Connections API guide.
Was this page helpful?