cURL
curl --request PUT \ --url https://{api_endpoint}/v1/orchestrate/agents/{id}/embedded-chat-config \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "layout": { "primary_color": "<string>", "second_color": "<string>", "accent_color": "<string>", "theme": "<string>", "enable_text_streaming": true, "form": { "type": "<string>", "properties": { "container_id": "<string>", "width": "<string>", "height": "<string>" } } }, "is_live": true } '
{ "layout": { "primary_color": "<string>", "second_color": "<string>", "accent_color": "<string>", "theme": "<string>", "enable_text_streaming": true, "form": { "type": "<string>", "properties": { "container_id": "<string>", "width": "<string>", "height": "<string>" } } }, "is_live": true, "script": "<string>", "updated_at": "<string>" }
Create or update embedded chat config for a registered agent.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Spec for embedded chat config in.
Layout configuration
Show child attributes
Status of the embedded chat script
Successful Response
Spec for embedded chat config out.
Generated embedded chat script
Last update timestamp