> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getnetra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Vapi

> Connect Vapi voice assistants to Netra for evaluation and simulation. Configure credentials in the dashboard and run voice simulations via webhook telemetry.

<img src="https://mintcdn.com/netra/I4AMRwYHDuF5FbHN/images/integration-logos/voice-frameworks/vapi.png?fit=max&auto=format&n=I4AMRwYHDuF5FbHN&q=85&s=6496537ab3bb38d4fba275ae8514ce10" alt="Vapi" width="249" height="80" data-path="images/integration-logos/voice-frameworks/vapi.png" />

Vapi is a hosted voice AI platform that manages STT, LLM, and TTS pipelines. Netra integrates with Vapi to evaluate voice assistants through automated simulations—placing simulated calls, recording conversations, and scoring quality.

## How It Works

Netra connects to your Vapi assistant to run voice simulations:

1. You configure your Vapi credentials in the Netra dashboard
2. Netra creates a call via Vapi's REST API
3. A simulated caller speaks with your assistant over websocket
4. After the call, Vapi sends a webhook with transcript and recording
5. Netra processes the data and evaluates the conversation

## Configuration

Register your Vapi assistant under **Evaluation → Agents** in the Netra dashboard. Select **Voice** as the modality and **Vapi** as the platform.

| Field            | Description                                      |
| ---------------- | ------------------------------------------------ |
| **API Key**      | Your Vapi API key (private key)                  |
| **Assistant ID** | The Vapi assistant to evaluate                   |
| **Phone Number** | Optional phone number for phone-based assistants |

You can find your API key and assistant ID in the [Vapi dashboard](https://dashboard.vapi.ai).

## Key Differences from LiveKit

| Aspect                  | LiveKit                           | Vapi                                   |
| ----------------------- | --------------------------------- | -------------------------------------- |
| **Integration type**    | Room-based with optional SDK      | Hosted platform, dashboard-only        |
| **SDK instrumentation** | Optional (OTLP spans from agent)  | Not possible (hosted platform)         |
| **Telemetry**           | Real-time via OTLP or room events | Webhook-based (after call completes)   |
| **Audio protocol**      | LiveKit room protocol             | Websocket binary frames                |
| **Recording**           | Room recording                    | Stereo recording (user/agent channels) |

## Webhook Setup

For Vapi to send call data to Netra, configure the `end-of-call-report` webhook in your Vapi dashboard. Netra receives the webhook, processes the transcript and recording, and converts the data into standard span format for the UI and evaluators.

## Related

* [Voice Simulation Agents](/Simulations/voice-simulations/agents) — Register your Vapi assistant in Netra
* [Voice Simulation Datasets](/Simulations/voice-simulations/Simulations) — Create test scenarios for your voice assistant
* [LiveKit Integration](/Integrations/voice-frameworks/LiveKit) — Compare with LiveKit integration
