跳转到主要内容
GET
/
conversations
/
{conversation_id}
/
variables
Error
A valid request URL is required to generate request examples
{
  "limit": 123,
  "has_more": true,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "value_type": "<string>",
      "value": "<string>",
      "description": "<string>",
      "created_at": 123,
      "updated_at": 123
    }
  ]
}

授权

Authorization
string
header
必填

API Key 认证。

路径参数

conversation_id
string
必填

会话 ID。

查询参数

user
string
必填

用户标识符。注意:Service API 不与 WebApp 共享会话。通过 API 创建的会话与在 WebApp 界面中创建的会话是隔离的。

last_id
string

用于分页的最后一条记录的 ID。

limit
integer
默认值:20

每页条目数(默认 20,最大 100)。

必填范围: 1 <= x <= 100

响应

成功获取会话变量。

limit
integer
has_more
boolean
data
object[]