chats

Start Chat Task

Start an immediate durable agent task for this chat.

This is intentionally separate from schedules: it enqueues an ad-hoc agent_task_runs row and hands execution to FastAPI background work now.

post/api/chats/{chat_id}/tasks

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
  • Auth: none declared

Path parameters

chat_idstring uuid required

Headers

x-impersonate-identity-idstring nullable

Request body

instructionstring required
idempotency_keystring nullable
runtime_kindstring nullable
runtime_environment_refstring nullable
runtime_external_refstring nullable
supervision_metadataobject

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 2 revisions of this API.