post/api/v1beta/me/messages/editstream

Request

  • The document declares no server URL.
  • Auth: bearer_auth (a scheme the document does not define)

Request body

chat_provider_idstring

The ID of the chat provider to use for generation. If not provided, will use the highest priority model for the user.

delegation_run_mode'wait' | 'background'

How a delegated child run relates to the turn that spawned it: wait blocks the turn on the child and feeds the result back into it, background returns at launch and the child result never re-enters the turn.

mentioned_assistant_idsstring[]

Assistants the user @-mentioned in this message as delegation targets. Validated server-side; requires delegation.assistants.enabled.

message_idstring uuid required

The ID of the message that should be edited with a new response. It will be considered a sibling message to the new message.

replace_input_files_idsstring[]

The IDs of any files that should replace the input files. These files must already be uploaded to the file_uploads table.

replace_user_messagestring required

The text of the message that should replace the user message.

selected_facet_idsstring[]

IDs of facets selected by the user for this generation.

Example request

{
  "chat_provider_id": "primary",
  "message_id": "00000000-0000-0000-0000-000000000000",
  "replace_user_message": "Hello, world!"
}

Changes

    • breaking

      added subschema #2 subschema #9 to the response body oneOf list for the response status

    • info

      removed subschema #2 subschema #9 from the response body oneOf list for the response status

    • breaking

      added subschema #2 subschema #9 to the response body oneOf list for the response status

    • info

      removed subschema #2 subschema #9 from the response body oneOf list for the response status