**版本：202601**

# 查询脚本标签列表

**GET** `/openapi/2026-01/script_tags`

分页返回脚本标签列表。

## 请求

**Query参数**

- `cursor` string

  分页游标
- `page_size` int32

  每页记录数
- `page` int32

  页码（从 1 开始），与 cursor 互斥
- `event_type` string

  事件类型

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `script_tags` object[]

    脚本标签列表

    *   Array \[

    - `id` string

      已创建脚本标签的唯一标识
    - `display_scope` string

      脚本标签应用的位置
    - `src` string

      脚本文件的 URL
    - `event_type` string

      创建时指定的标签类型
    - `created_at` string

      脚本标签的创建时间，格式：YYYY-MM-DDTHH:mm:ssZ
    - `updated_at` string

      脚本标签的最后更新时间，格式：YYYY-MM-DDTHH:mm:ssZ
    *   \]
  - `cursor` string

    分页游标
  - `has_more` boolean

    是否有更多记录

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "script_tags": [
      {
        "id": "string",
        "display_scope": "string",
        "src": "string",
        "event_type": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "cursor": "string",
    "has_more": true
  }
}
```
