Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/sse/docqa/insight/chat
Create or run chat resource
Create or run chat resource via POST /v7/sse/docqa/insight/chat.
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
ssedocqaInsightChat- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
No URL, query, or header parameters.
Request body
Properties: prompt_dataqa_drive_idsqa_file_idsqa_group_namessearch_namesession_idswitch_markdown
Responses
200
docqa_insight_chat_resp_bodytext/event-stream
Request succeeded.
Properties: data
default
unknowntext/event-stream
The upstream service returned this status.
{
"data": {
"code": 1,
"data": {
"code": 1,
"dynamic": {},
"faq_content": {},
"more": "example content",
"qa_drive_ids": [],
"qa_group_ids": [],
"query": "example content",
"recall_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.