chats

Cancel Chat Task

post/api/chats/{chat_id}/tasks/{run_id}/cancel

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/chats/{chat_id}/tasks/{run_id}/cancel
  • Auth: none declared

Path parameters

chat_idstring uuid required
run_idstring uuid required

Headers

x-impersonate-identity-idstring nullable

Response

Successful Response

run_idstring uuid required
chat_idstring uuid required
agent_identity_idstring uuid required
idempotency_keystring required
statusstring required
supervision_statusstring required
runtime_kindstring required
runtime_environment_refstring nullable
runtime_external_refstring nullable
supervision_metadataobject required
doneboolean required
responsestring nullable
errorstring nullable
user_message_idstring uuid nullable
assistant_message_idstring uuid nullable
progressobject nullable
contractobject nullable
outcome'stopped_unfinished' | 'continued' nullable
cancel_requestedboolean
created_atstring date-time required
started_atstring date-time nullable
completed_atstring date-time nullable
duration_msinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.