Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/sse/wps365agent/chat_stream
Create or run chat stream resource
Create or run chat stream resource via POST /v7/sse/wps365agent/chat_stream.
Manage contacts and organization, cloud documents, DBSheet/smart sheets, messaging, meetings, calendars, mail, todo, approvals, and event subscriptions through the official WPS 365 OpenAPI (v7); the official machine contract is the OpenAPI 3.0.0 published on open.wps.cn (827 endpoints / 3,119 schemas). Enterprise data is private business data; Pontx does not proxy, cache, or aggregate it and callers use the local SDK/CLI directly.
Request
- operationId
ssewps365agentChatStream- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
No URL, query, or header parameters.
Request body
Properties: call_toolcontextenable_chatenable_multi_turnenable_output_jsonenable_rewriteenable_sftenable_show_answerenable_skip_agent_planenable_skip_process_tool_resultqueryscenessupport_funcalltoken
Responses
200
wps_agent_resp_bodytext/event-stream
Request succeeded.
Properties: data
default
unknowntext/event-stream
The upstream service returned this status.
{
"data": {
"code": 1,
"data": {
"answer": "example content",
"context": {},
"state": "example content",
"tool_name": "example content",
"tool_params": {},
"tool_tip": "example content",
"type": "example content"
},
"msg": "example content"
}
}Stream events
Unknown events: Preserved as raw payloads for forward compatibility.
message
Data format: JSONunknown
Supplier SSE event payload; the data field follows the 200 response schema of this endpoint. The official contract does not enumerate event names, so unknown events are preserved.