Inject Message

Inject a user message into a running agent execution.

The message is queued for the agent to absorb at its next natural breakpoint (between iterations). It is also persisted immediately to the conversation history.

Returns 409 if no active execution exists for the conversation.

post/api/chat/inject

Request body

conversation_idstring required
contentstring required

Response

Successful Response

object required

Changes

Changed in 1 of the 11 revisions of this API.27

  • 6dc2d6f33d4427See the full diff
    • removed the optional property inject_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property status from the response with the 200 status

      response-optional-property-removed

    • api operation id inject_message_api_chat_inject_post was added

      api-operation-id-added

    • the endpoint scheme security HTTPBearer was added to the API

      api-security-added

    • api tag Chat removed

      api-tag-removed

    • added the non-success response with the status 422

      response-non-success-status-added

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • 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