Kingsoft Office/sseaidocsSearchGpt

Online calls unavailable · details below

Kingsoft OfficeWPS 365 enterprise collaboration open API

POST/v7/sse/aidocs/search/gpt

Create or run gpt resource

Create or run gpt resource via POST /v7/sse/aidocs/search/gpt.

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
sseaidocsSearchGpt
Server
https://openapi.wps.cn
Authentication
app, delegated

Request parameters

No URL, query, or header parameters.

Request body

aidocs_search_gpt_req_body

Properties: promptqa_file_idsqa_group_idsqa_group_namessearch_namesession_id

Responses

200

aidocs_search_gpt_resp_bodytext/event-stream

Request succeeded.

Properties: data

default

unknowntext/event-stream

The upstream service returned this status.

{
  "data": {
    "code": 1,
    "dynamic": {
      "answer_citations": {},
      "process_display": "example content"
    },
    "qa_group_ids": [
      1
    ],
    "query": "example content",
    "session_id": "example-id-0123456789",
    "x_request_id": "example-id-0123456789"
  }
}

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.