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

# Layercode API reference

> Choose the right Layercode API surface for your workflow.

<Columns cols={2}>
  <Card icon="browser" title="Frontend WebSocket API" href="/api-reference/frontend-ws-api" arrow="true">
    Stream microphone audio from web or mobile clients and receive live agent responses over a low-latency WebSocket channel.
  </Card>

  <Card icon="webhook" title="Webhook SSE API" href="/api-reference/webhook-sse-api" arrow="true">
    Implement a server-side webhook that ingests transcripts and replies with SSE messages containing prompts for Layercode to speak.
  </Card>

  <Card icon="server" title="REST API" href="/api-reference/rest-api" arrow="true">
    Manage pipelines, sessions, and analytics data programmatically with standard HTTP endpoints.
  </Card>

  <Card icon="terminal" title="CLI Reference" href="/api-reference/cli" arrow="true">
    Automate workflows and debugging from your shell using the Layercode command-line interface.
  </Card>
</Columns>
