Kingsoft Office/aiopendrivesFilesQa

Online calls unavailable · details below

Kingsoft OfficeWPS 365 enterprise collaboration open API

POST/v7/aiopen/drives/{drive_id}/files/{file_id}/qa

Create or run qa resource

Create or run qa resource via POST /v7/aiopen/drives/{drive_id}/files/{file_id}/qa.

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

Request parameters

drive_id

pathstringrequired

Cloud document drive ID.

example-id-0123456789

file_id

pathstringrequired

File ID.

example-id-0123456789

Request body

aiopen_post_qa_drive_file_qa_req_body

Properties: add_segmenthistoriesis_streamquestionquestion_intenttemperaturetop_k

Responses

200

post_qa_drive_file_qa_resp_bodyapplication/json

Request succeeded.

Properties: data

default

unknownapplication/json

The upstream service returned this status.

{
  "data": {
    "answer": "example content",
    "histories": {
      "input": "example content",
      "intent": "example content",
      "output": "example content"
    },
    "question_intent": "example content",
    "rag_files": {
      "drive_id": "example-id-0123456789",
      "file_id": "example-id-0123456789",
      "file_name": "example content"
    },
    "rewrite_questions": [
      "example content"
    ],
    "search_files": {
      "bnd_box": [],
      "drive_id": "example-id-0123456789",
      "file_id": "example-id-0123456789",
      "file_name": "example content",
      "page_index": 1,
      "paragraph_content": "example content",
      "paragraph_hash": "example content"
    }
  }
}