Skip to main content
GET
/
conversations
/
{conversation_id}
/
variables
Error
A valid request URL is required to generate request examples
{
  "limit": 20,
  "has_more": false,
  "data": [
    {
      "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
      "name": "user_preference",
      "value_type": "string",
      "value": "dark_mode",
      "description": "用户偏好设置",
      "created_at": 1705407629,
      "updated_at": 1705411229
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key 认证。对于所有 API 请求,请在 Authorization HTTP 头中包含您的 API Key,并加上 Bearer 前缀。示例:Authorization: Bearer {API_KEY}强烈建议将 API Key 存储在服务端,不要在客户端共享或存储,以避免 API Key 泄漏导致严重后果。

Path Parameters

conversation_id
string
required

会话 ID。

Query Parameters

user
string

用户标识符。

last_id
string

当前页最后一条记录的 ID(用于分页)。

limit
integer
default:20

返回的记录数。

Required range: 1 <= x <= 100
variable_name
string

按指定名称筛选变量。

Required string length: 1 - 255

Response

成功获取会话变量。

limit
integer

每页条目数。

has_more
boolean

是否有下一页。

data
object[]

会话变量列表。