Skip to main content
Agnost AI accepts Retell’s standard call_analyzed webhook and turns the final transcript into a conversation with caller/agent events and nested tool calls. Retell does not expose a documented OTLP export, so use this webhook instead of Retell Live Monitoring or Analytics.

Configure the webhook

Configure the account-level or agent-level webhook URL in Retell:
Enable the call_analyzed event. Agnost acknowledges other Retell lifecycle and transcript-update events without ingesting them. Get your project ID from app.agnost.ai. It must be a UUID.

Data mapping

  • Retell call_id becomes the Agnost conversation ID.
  • metadata.user_id or retell_llm_dynamic_variables.user_id becomes the user ID when supplied.
  • Otherwise inbound calls use from_number, and all other calls use to_number. Calls without that number, such as web calls, fall back to call_id.
  • agent_name, then agent_id, becomes the agent name. If neither is present, the agent is unknown.
  • transcript_object preserves word timestamps. Agnost falls back to the plain transcript field.
  • call_analysis (call_summary, user_sentiment, call_successful, in_voicemail, custom_analysis_data), latency, status, direction, timing, disconnection reason, and http/https recording and log URLs become conversation metadata.
  • Retell’s combined cost is converted from cents to USD and attached to one event.
  • Tool invocations and results in transcript_with_tool_calls become nested tool events, up to 100 per call.
Agnost never stores Retell’s call access_token. Retell recording and log URLs may expire when signed URLs are enabled in Retell. Agnost stores the URL supplied with the webhook; it does not refresh expired Retell URLs.

Delivery behavior

Successful analyzed calls return 200. Events other than call_analyzed, and analyzed calls without a usable transcript, return 204. An invalid project_id or a payload missing event, call, or call.call_id returns 400. A missing project_id, more than 100 tool calls, or data that cannot be normalized returns 422. A transcript over 1 MiB (1,048,576 bytes) returns 413. Downstream ingestion failures return 502 so Retell can retry. Repeated successful deliveries map to the same conversation but can duplicate events. Avoid replaying a webhook that already received a 2xx response. Retell signs webhooks with X-Retell-Signature, but direct signature verification requires storing each project’s Retell webhook key. This initial integration follows the same project-routing trust model as the existing voice webhook adapters and does not verify that signature. Treat the webhook URL as sensitive until per-project signature verification is available.

Next steps

  • Conversations: review complete Retell calls.
  • Events: inspect each caller/agent exchange and tool call.
  • Patterns: understand why callers contacted the agent.