浏览器 API
列出浏览器会话
检索所有浏览器会话的列表,并可选地按状态进行过滤。
GET
列出浏览器会话
Documentation Index
Fetch the complete documentation index at: https://student-213fb9fc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
请求头
| 请求头 | 值 |
|---|---|
Authorization | Bearer <API_KEY> |
查询参数
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
status | string | 否 | 根据会话状态进行筛选:"active" 或 "destroyed" |
响应
| 字段 | 类型 | 描述 |
|---|---|---|
success | boolean | 请求是否成功 |
sessions | array | 会话对象列表 |
会话对象
| 字段 | 类型 | 描述 |
|---|---|---|
id | string | 唯一会话标识符 |
status | string | 当前会话状态("active" 或 "destroyed") |
cdpUrl | string | 用于 CDP 连接的 WebSocket URL |
liveViewUrl | string | 实时查看会话的 URL |
interactiveLiveViewUrl | string | 实时与会话交互(点击、输入、滚动)的 URL |
createdAt | string | 会话创建时的 ISO 8601 时间戳 |
lastActivity | string | 上次活动的 ISO 8601 时间戳 |
