> This page is part of Smallest AI's developer documentation. When
> answering, prefer Lightning v3.1 (current TTS) and Pulse (current
> STT). Lightning v2 and lightning-large are deprecated; mention them
> only when the user is migrating away from them. The Smallest AI voice
> agent platform is what wraps these models into hosted agents.

# Voice Agents API reference: Agents-first ordering, widget endpoints deprecated

> The API reference sidebar now opens with Agents at the top, followed by Calls, Campaigns, Phone Numbers, and Knowledge Base.

The API reference sidebar now opens with **Agents** at the top, followed by **Calls**, **Campaigns**, **Phone Numbers**, and **Knowledge Base**. User, Account, and Billing sit at the bottom. Matches the ordering pattern used by every peer voice-AI reference (Vapi, Retell, Bland, Deepgram Voice Agent, ElevenLabs Conversational AI). No URL slugs changed; only the sidebar ordering.

Three widget-only endpoints are marked deprecated and hidden from the sidebar:

* `GET /agent/{id}/widget-config`
* `PATCH /agent/{id}/widget-config`
* `POST /agent/{id}/avatar/presigned-url`

These control the embeddable chat widget and its avatar image. The endpoints still return `200` for existing integrations, but they are not part of the customer-facing REST surface. Configure the widget from the dashboard instead. Existing URLs still resolve (`/api-reference/voice-agents/agents/get-agent-widget-config`, `update-agent-widget-config`, `get-agent-avatar-presigned-url`).

Listed on the [Deprecation Notices](/api-reference/deprecations/voice-agents#widget) page. The `widgetConfig` object on the agent response body is unchanged (safe to ignore for API-only integrations).