Cancel Process Chat

Changed on

Stop the running turn on process_id. Body: {session_id}.

Returns core's {success, cancelled, session_id} verbatim — cancelled is the honest answer from the machine that owns the turn, which is the whole point of this route existing.

post/api/processes/{process_id}/agent/chat/cancel

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/processes/{process_id}/agent/chat/cancel
  • Auth: none declared

Path parameters

process_idstring required

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name