Chats

Send chat message

Changed on
post/api/v2/chats/{chat}/messages

Request

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

Path parameters

chatstring uuid required

Chat ID

Request body

busy_behavior'queue' | 'interrupt'
mcp_server_idsstring[]
model_config_idstring uuid
plan_mode'plan'
reasoning_effortstring

Response

OK

queuedboolean
warningsstring[]

Changes