Chats

Edit chat queued message

Changed on
patch/api/v2/chats/{chat}/queue/{queuedMessage}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/chats/{chat}/queue/{queuedMessage}
  • Auth
    API key in header Coder-Session-Token

Path parameters

chatstring uuid required

Chat ID

queuedMessageinteger required

Queued message ID

Request body

editingboolean

Editing begins (true) or ends (false) an edit of the message. A chat has at most one message under edit; beginning another ends the first. While the chat is paused, beginning an edit on another message returns 409. Ending the edit of a paused chat's head sends it.

model_config_idstring uuid

ModelConfigID and ReasoningEffort require Content; sending either without it returns 400. Omitted values keep the stored ones.

reasoning_effortstring

Response

No Content

Changes