Authorizations
使用以下格式进行身份验证:Bearer <your api key>
Path Parameters
任务 ID。
Response
业务处理成功
任务 ID
请求 ID
请求创建时间,Unix
时间戳(秒)
模型名称
模型响应列表
Hide child attributes
Hide child attributes
结果索引
Hide child attributes
Hide child attributes
当前对话角色,默认为 assistant
"assistant"
当前对话文本内容。如果调用函数则为 null
,否则返回推理结果。
对于GLM-Z1
系列模型,返回内容可能包含思考过程标签 <think> </think>
。
对于GLM-4.5V
系列模型,返回内容可能包含思考过程标签 <think> </think>
,文本边界标签 <|begin_of_box|> <|end_of_box|>
。
思维链内容,仅在使用 glm-4.5
系列, glm-4.1v-thinking
系列模型时返回。对于 GLM-Z1
系列模型,思考过程会直接在 content
字段中的 <think>
标签中返回。
生成的应该被调用的函数名称和参数。
Hide child attributes
Hide child attributes
MCP
工具调用参数
Hide child attributes
Hide child attributes
mcp
工具调用唯一标识
工具调用类型, 例如 mcp_list_tools, mcp_call
mcp_list_tools
, mcp_call
MCP
服务器标签
错误信息
type = mcp_list_tools
时的工具列表
Hide child attributes
Hide child attributes
工具名称
工具描述
工具注解
工具调用参数,参数为 json
字符串
工具名称
工具返回的结果输出
命中函数的唯一标识符。
调用的工具类型,目前仅支持 'function', 'mcp'。
推理终止原因。'stop’表示自然结束或触发stop词,'tool_calls’表示模型命中函数,'length’表示达到token长度限制,'sensitive’表示内容被安全审核接口拦截(用户应判断并决定是否撤回公开内容),'network_error’表示模型推理异常。
调用结束时返回的 Token
使用统计。