Ir al contenido

REST API — Embed Chat Widget

Esta página aún no está disponible en tu idioma.

Method Path What it does
POST /api/embed/template/{template_id}/chat Process a chat message from the embed widget.
GET /api/embed/template/{template_id}/config Get widget configuration for the embed chat widget.
GET /api/embed/template/{template_id}/execution/{execution_id}/status Get workflow execution status for polling from embed chat widget.
POST /api/embed/template/{template_id}/executions/{execution_id}/respond Respond to a workflow clarification request from embed chat widget.
POST /api/embed/template/{template_id}/speech Text → mp3 bytes. Nothing is stored; the widget plays and discards.
POST /api/embed/template/{template_id}/thread/{thread_id}/action Handle an A2UI param-form action (submit/cancel) from the embed chat widget.
GET /api/embed/template/{template_id}/thread/{thread_id}/history Get thread history for the embed widget.
POST /api/embed/template/{template_id}/transcribe Audio → text. The widget then sends the transcript as an ordinary embed chat message, so nothing about the chat contract changes.