# 获取圈选元素定义

## URL

[https://www.growingio.com/projects/{project\_uid}/rules.csv](https://www.growingio.com/projects/%7Bproject_uid%7D/rules.csv)

## 请求类型

GET

## 请求头参数

公共头部请参考[公共请求头参数](https://growingio.gitbook.io/v3/developer-manual/api-reference/authenticate)。

## 参数说明与示例

{% 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 %}
