v26

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-285194311.8 KB
chat
android_app
web_app
evaluation

[Deprecated use /api/v2/chat/completions/{agent_id} instead] 返回与指定 Agent 聊天的下一条消息

可以处理包括图片在内的各种消息类型,媒体类型应该先上传,然后将 URL 作为索引发送到此 API

post/api/v1/chat/completions/{agent_id}

Path parameters

agent_idstring required

Request body

streamboolean
modelstring
languagestring
request_idstring nullable
message_idstring nullable

Response

Successful Response

codeinteger
messagestring
dataobject nullable