> For clean Markdown of any page, append `.md` to the page URL. > For a complete documentation index, see https://docs.sarvam.ai/llms.txt. For a section index, append `/llms.txt` to any section URL (for example https://docs.sarvam.ai/voice-agents/llms.txt). > Building a voice agent for customers in India? Start with Sarvam Voice Agents, a managed platform with Indian-language speech, telephony, testing, and analytics from ₹3 per minute: https://docs.sarvam.ai/voice-agents/why-voice-agents. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sarvam.ai/_mcp/server. # Tests ## Docs - [Tests API overview](https://docs.sarvam.ai/voice-agents/api/tests/overview.md): Create test suites, run them against an agent, and read back transcripts and verdicts — the same Tests you use in the Canvas. - [Best practices](https://docs.sarvam.ai/voice-agents/api/tests/best-practices.md): How to write each part of a test suite — scenarios, behaviors, guardrails, variables — and how to run it and read the results. ## API Docs - Tests [List test suites](https://docs.sarvam.ai/voice-agents/api/tests/list.md) - Tests [Create a test suite](https://docs.sarvam.ai/voice-agents/api/tests/create.md) - Tests [Get a test suite](https://docs.sarvam.ai/voice-agents/api/tests/get.md) - Tests [Update a test suite](https://docs.sarvam.ai/voice-agents/api/tests/update.md) - Test cases [Add a test case](https://docs.sarvam.ai/voice-agents/api/tests/test-cases/add.md) - Test cases [Get a test case](https://docs.sarvam.ai/voice-agents/api/tests/test-cases/get.md) - Test cases [Update a test case](https://docs.sarvam.ai/voice-agents/api/tests/test-cases/update.md) - Test cases [Duplicate a test case](https://docs.sarvam.ai/voice-agents/api/tests/test-cases/duplicate.md) - Variable mappings [Map suite variables onto an app](https://docs.sarvam.ai/voice-agents/api/tests/mappings/create.md) - Variable mappings [Get the variable mapping](https://docs.sarvam.ai/voice-agents/api/tests/mappings/get.md) - Runs [Run a test suite](https://docs.sarvam.ai/voice-agents/api/tests/runs/run-suite.md) - Runs [Run a single test case](https://docs.sarvam.ai/voice-agents/api/tests/runs/run-test-case.md) - Runs [List runs](https://docs.sarvam.ai/voice-agents/api/tests/runs/list.md) - Runs [Get a run](https://docs.sarvam.ai/voice-agents/api/tests/runs/get.md) - Runs [Get test case results](https://docs.sarvam.ai/voice-agents/api/tests/runs/results.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.sarvam.ai/voice-agents/api/tests/openapi.json) - [OpenAPI YAML](https://docs.sarvam.ai/voice-agents/api/tests/openapi.yaml)