latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-1315378562.5 KB

9fd13f607823

Widget

Get widget configuration

Returns the current web widget configuration for the agent. Also includes assistantId (same as the agent ID) as a convenience field for the widget embed code.

get/agent/{id}/widget-config

Path parameters

idstring required

Agent ObjectId

Response

Widget configuration

successboolean

Example response

{
  "success": true
}