Cancels a model task with the given ID. Only tasks created with
the background parameter set to true can be cancelled.
Learn more.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the task to cancel
Successful Response
The task object returned in JSON-RPC result.
固定为 task。
task 任务 ID。
会话 ID。
用户 ID。
任务状态。
created, queued, working, input-required, paused, completed, canceled, expired, failed 任务创建时间(Unix 秒)。
模型/代理生成的输出条目集合(多类型)。
An output item produced by the agent/model.
token 用量统计信息。
错误信息(失败时)。
若任务等待外部输入,则给出需要执行的工具调用(如等待用户参数)。
扩展元数据。
前置任务 ID(用于续写/衔接)。
任务推演/回溯事件集合(可选)。