React Endpoint

Run a ReAct agent query with SSE progress updates.

Parameters

request : Request The incoming HTTP request; used to detect client disconnects. body : ChatStreamRequest JSON request body containing the query and optional parameters.

post/api/react

Request body

qstring required
conversation_idstring nullable
agent_idstring nullable
tokenstring nullable
image_idsstring nullable
user_metadatastring nullable
doc_modestring nullable

Response

Successful Response

{"stackTrail":"paths:/api/react:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 3 of the 11 revisions of this API.6113

    • added the new optional request property doc_mode

      new-optional-request-property

    • removed the request property domain_hint

      request-property-removed

  • 6dc2d6f33d44612See the full diff
    • the request property agent_id became not nullable

      request-property-became-not-nullable

    • the request property conversation_id became not nullable

      request-property-became-not-nullable

    • the request property image_ids became not nullable

      request-property-became-not-nullable

    • the request property token became not nullable

      request-property-became-not-nullable

    • the request property user_metadata became not nullable

      request-property-became-not-nullable

    • removed the media type text/event-stream for the response with the status 200

      response-media-type-removed

    • api operation id react_endpoint_api_react_post was added

      api-operation-id-added

    • api tag Chat removed

      api-tag-removed

    • added the new optional request property domain_hint

      new-optional-request-property

    • request property agent_id list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • request property conversation_id list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • request property image_ids list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • request property token list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • request property user_metadata list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • added the media type application/json for the response with the status 200

      response-media-type-added

    • added the non-success response with the status 422

      response-non-success-status-added

    • removed the non-success response with the status 401

      response-non-success-status-removed

    • removed the non-success response with the status 404

      response-non-success-status-removed

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