You need to enable JavaScript to run this app.
文档中心
火山方舟

火山方舟

复制全文
下载 pdf
Sessions
查询会话列表
复制全文
下载 pdf
查询会话列表
GET https://ark.cn-beijing.volces.com/api/v3/sessions​
分页查询当前账号下的会话列表,支持按归档状态、智能体、状态、标签和创建时间过滤。每条结果包含该会话当前可见的智能体、环境、资源和标签信息。​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • API Key 鉴权,请在 API Key 管理 页面,获取长效 API Key。​
​​
请求参数​
Query 参数​
在 URL Query String 中传入。​
agent_id string | 智能体 ID​
​
created_at_gt string | 创建时间下界(不含)​
​
created_at_gte string | 创建时间下界(含)​
​
created_at_lt string | 创建时间上界(不含)​
​
created_at_lte string | 创建时间上界(含)​
​
include_archived boolean 默认值 false | 包含已归档会话​
​
limit integer 默认值 20 | 每页数量​
​
memory_store_id string | 记忆库 ID​
​
order string 默认值 desc | 排序方向​
​
page string | 下一页标识​
​
scene string | 会话场景​
​
status string[] | 会话状态​
​
tags object[] | 标签过滤​
​
​
响应参数​
data object[] | 会话列表​
​
next_page string | 下一页标识​
​
​

Request

curl -sS --fail-with-body "https://ark.cn-beijing.volces.com/api/v3/sessions?limit=20&order=desc&status=idle" \
  -H "Authorization: Bearer $ARK_API_KEY"

Response

{
  "data": [
    {
      "id": "sesn-20260715083012-a3f7b",
      "type": "session",
      "agent": {
        "id": "<AGENT_ID>",
        "type": "agent",
        "name": "<AGENT_NAME>",
        "version": 1,
        "created_at": "2026-07-15T08:00:00Z",
        "updated_at": "2026-07-15T08:00:00Z"
      },
      "environment_id": "<ENVIRONMENT_ID>",
      "title": "Q3 规划头脑风暴",
      "status": "idle",
      "created_at": "2026-07-15T08:30:12.000Z",
      "updated_at": "2026-07-15T09:00:00.000Z",
      "tags": [
        {"key": "team", "value": "agent-infra"}
      ]
    }
  ],
  "next_page": "page_xxxxxxxx"
}
最近更新时间:2026.10.30 21:22:47
这个页面对您有帮助吗?
有用
有用
无用
无用