> For the complete documentation index, see [llms.txt](https://growingio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://growingio.gitbook.io/docs/developer-manual/api-reference/statistics-api/definition/get-auto.md).

# 获取圈选元素定义

### URL

<https://www.growingio.com/projects/{project\\_uid}/rules.csv>

### 请求类型

GET

### 请求头参数

公共头部请参考[公共请求头参数](/docs/developer-manual/api-reference/authenticate.md)。

### 参数说明与示例

{% tabs %}
{% tab title="请求参数" %}

| 路径参数         | 类型     | 是否必传 | 说明     |
| ------------ | ------ | ---- | ------ |
| project\_uid | string | 是    | 项目UID。 |
| {% endtab %} |        |      |        |

{% tab title="响应示例" %}

* 200：OK

{% code title="" %}

```
ruleId,eventName,eventType
f2503720,元素_注册按钮,clck
```

{% endcode %}

* 401: Unauthorized

```
{
  "message": "Unauthorized",
  "errors": []
}
```

* 500: Internal Server Error

```
{
  "message": "Request timeout",
  "errors": [
    {
      "code": "request_timeout",
      "message": "Request timeout in 5000 milliseconds"
    }
  ]
}
```

{% endtab %}
{% endtabs %}
