v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Agents

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
}