Layercode
Layercode provides voice-AI agent infrastructure - low-latency voice pipelines that turn any LLM or text-based agent into a conversational voice agent for web, mobile, and phone. A REST API manages agents, sessions, and outbound calls, while a realtime WebSocket transport streams audio to the browser and a signed webhook delivers transcripts to your backend, which streams text-to-speech responses back over Server-Sent Events.
APIs
Layercode Agents API
List, create, retrieve, and update voice agents (pipelines) and authorize browser client sessions against an agent using an org-scoped API key.
Layercode Sessions API
Retrieve session detail - transcript, duration, metadata, and recording status - for a conversation handled by an agent, and download the session audio recording, plus initiate ...
Layercode Realtime Voice API
Bidirectional realtime WebSocket transport that streams base64 PCM microphone audio from the browser to Layercode and streams synthesized speech, transcripts, and structured dat...
Layercode Webhooks API
HMAC-signed webhook Layercode POSTs to your backend with session and transcript events (session.start, message, data, session.update, session.end); your backend streams response...
Collections
Layercode REST API
OPENPricing Plans
Rate Limits
FinOps
Layercode Finops
FINOPSEvent Specifications
Layercode Realtime Voice WebSocket API
AsyncAPI 2.6 description of Layercode's **realtime voice transport**, a genuine bidirectional WebSocket documented at https://docs.layercode.com/api-reference/frontend-ws-api. U...
ASYNCAPI