全部產品
Search
文件中心

PolarDB:GetPolarAgent - 建立聊天記錄

更新時間:Jan 22, 2026

建立聊天記錄

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

Query

string

會話 Query。通過“啟動一個數字人”API 的傳回值擷取。

c4d242f3-c909-4846-91d9-f84c238a9820

SessionId

string

會話 SessionID。通過“啟動一個數字人”API 的傳回值擷取。

c4d242f3-c909-4846-91d9-f84c238a9820

Source

string

產品類型來源。取值:polardb-console。

polardb-console

ExtraInfo

string

附加資訊,json 字串

{}

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

Content

string

Id of the request

QZ-13661677-80

RequestId

string

請求 ID。

34458CD3-33E0-4624-BFEF-840C15******

ReasoningContent

string

模型思維內容。

xxxx

Product

string

雲產品類型。

polardb

FunctionCall

array<object>

是否支援 FunctionCall。

object

是否支援 FunctionCall。

Name

string

規則名稱

rule04

Arguments

string

操作相關輸出結果

---narguments:n parameters: []n

Id

string

配額的 ID。

393

Status

string

狀態

xxx

UiFunctionCall

array<object>

是否支援 UiFunctionCall

object

是否支援 UiFunctionCall

ArgsText

string

xxx

xxx

ToolName

string

調用的工具命令

xxx

SessionId

string

執行代碼的會話 ID。

40315d708f0806903b08813bf4c9db2e

QueryId

string

使用者查詢管道任務的 Id

2548026401648157601743560466154

樣本

正常返回樣本

JSON格式

{
  "Content": "QZ-13661677-80",
  "RequestId": "34458CD3-33E0-4624-BFEF-840C15******",
  "ReasoningContent": "xxxx",
  "Product": "polardb",
  "FunctionCall": [
    {
      "Name": "rule04",
      "Arguments": "---narguments:n  parameters: []n",
      "Id": "393",
      "Status": "xxx"
    }
  ],
  "UiFunctionCall": [
    {
      "ArgsText": "xxx",
      "ToolName": "xxx"
    }
  ],
  "SessionId": "40315d708f0806903b08813bf4c9db2e",
  "QueryId": "2548026401648157601743560466154"
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情