widget

Create Widget Task

Create new chat task for widget guest.

post/api/widget/chat/task/create

Request body

titlestring required
descriptionstring nullable
agent_idinteger nullable
filesstring[] nullable
llm_idsstring[] nullable
memory_similarity_thresholdnumber nullable
agent_typestring nullable
agent_configobject nullable
is_previewboolean
is_visibleboolean
execution_modestring nullable
process_descriptionstring nullable

Response

Successful Response

task_idinteger required
titlestring required
statusstring required
created_atstring required
model_idstring nullable
small_fast_model_idstring nullable
visual_model_idstring nullable
compact_model_idstring nullable
model_namestring nullable
small_fast_model_namestring nullable
visual_model_namestring nullable
compact_model_namestring nullable
execution_modestring nullable
channel_idinteger nullable
channel_namestring nullable
agent_idinteger nullable
agent_namestring nullable
agent_logo_urlstring nullable

Changes

Changed in 2 of the 4 revisions of this API.6

    • added the new optional request property is_preview

      new-optional-request-property

    • added the new optional request property is_visible

      new-optional-request-property

    • added the optional property agent_id to the response with the 200 status

      response-optional-property-added

    • added the optional property agent_logo_url to the response with the 200 status

      response-optional-property-added

    • added the optional property agent_name to the response with the 200 status

      response-optional-property-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog