Overview
Roark supports OpenTelemetry (OTel) tracing. Send your OTel trace data to Roark to see what happens under the hood of your Voice AI agent, debug latency, inspect tool usage and external API calls, and correlate call execution with your backend traces.Features
- LLM traces per call — View LLM spans, tool calls, and model invocations directly on the call detail page. Each call’s Tracing tab shows the full trace tree for that conversation, so you can quickly pinpoint where latency or failures occurred.
- Central trace explorer — See all traces in one place. Filter by time range, custom tags, or search by span name and attributes. Use this to spot patterns across calls, compare runs, and troubleshoot recurring issues.

Endpoint and Protocol
| Requirement | Details |
|---|---|
| Protocol | OTLP over HTTPS only |
| Endpoint | Send traces to Roark’s OTel endpoint (see examples below) |
| OTel traces URL | https://api.roark.ai/v1/traces |
| Authorization | Required. Send Authorization: Bearer YOUR_ROARK_API_KEY in the request headers. |
| Role | Roark acts as an OTel Collector |
All trace ingestion requests require authentication. Generate an API
key in your Roark dashboard and use
it in the
Authorization: Bearer YOUR_ROARK_API_KEY header.Setup Guide
Get an API key
Generate an API key in your Roark dashboard. Trace ingestion requires authentication via the
Authorization: Bearer YOUR_ROARK_API_KEY header. Create an API key →Create your integration
Set up your voice platform integration first. See the LiveKit and VAPI integrations guide for step-by-step setup.
- LiveKit
- VAPI
- Pipecat
- Custom Integration
Instrument your LiveKit agent with OpenTelemetry and export traces to Roark. Configure your tracer with the Example: a simple LiveKit Agent entrypoint with OTel exporting to Roark:Resource attributes:
livekit.room.id resource attribute — this is how Roark links your LiveKit room to its traces and shows them on the call detail page.Install the required packages:| Attribute | Required | Description |
|---|---|---|
livekit.room.id | Yes | The LiveKit room SID (ctx.job.room.sid). Roark uses this to link traces to the corresponding call. |
roark.skip | No | Set to true to tell Roark to filter out traces for this room. Useful for skipping test or internal calls. |
If you’re also using the LiveKit webhook integration, you can set
roark.skip in both room metadata and OTel resource attributes to skip both call processing and trace ingestion.You’re now ready to send traces to Roark and debug your Voice AI calls. You’ll be able to view them on the Traces page and directly within each call’s detail page.
What’s Next
Live monitoring
View and debug active calls
Metrics & reports
Define and analyze call metrics
Dashboards
Build observability views
API reference
Explore Roark API endpoints
Related: LiveKit integration · VAPI integration · Integrations overview

