> ## Documentation Index
> Fetch the complete documentation index at: https://help.airbridge.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 메타데이터 가져오기 (GroupBy)

사용할 수 있는 리포트 그룹바이를 조회합니다. \[[참고](https://docs.google.com/spreadsheets/d/13ThNnryqRmZQwJVecM8lZ2OB7LzA8s3cwLlQBGpbXLg/edit?gid=495708383#gid=495708383)]

<Card title="Try API Request" icon="rectangle-api" horizontal href="https://www.postman.com/airbridge-engineering/airbridge-api/request/82ehjlx/get-metadata-groupby" />

```text GET theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
https://api.airbridge.io/dataspec/v1/apps/{app_name}/active-users-report/groupbys
```

<h2 id="메타데이터-가져오기-groupby-request">
  Request
</h2>

***

<h3 id="메타데이터-가져오기-groupby-headers">
  Headers
</h3>

<ParamField header="Accept-Language" type="string">
  API 요청 및 결과 반환에 사용할 언어를 지정할 수 있습니다. ISO-639-1 포맷을 따릅니다.
</ParamField>

<ParamField header="Content-Type" type="string">
  리소스의 미디어 타입을 나타냅니다. 기본값으로 `application/json`을 사용합니다.
</ParamField>

<ParamField header="Authorization" type="string">
  API 요청에 사용하는 키값입니다. [키값 생성 및 조회 방법](/ko/references/introduction)을 확인하여 획득할 수 있습니다.
</ParamField>

<h3 id="메타데이터-가져오기-groupby-path-params">
  Path Params
</h3>

<ParamField path="app_name" type="string" required>
  에어브릿지 앱 이름(App Name)
</ParamField>

<RequestExample>
  ```shellscript Request theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  curl -X GET 'https://api.airbridge.io/dataspec/v1/apps/{app_name}/active-users-report/groupbys' \
    -H 'Accept-Language: ko' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'
  ```
</RequestExample>

<h2 id="메타데이터-가져오기-groupby-response">
  Response
</h2>

***

### 200

### 404

입력한 필드에 오류가 있거나 해당하는 리소스가 없습니다.

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  {
    "data": [
      {
        "name": "Touchpoint",
        "fields": [
          {
            "key": "channel",
            "name": "Channel",
            "description": "The media source of the touchpoint.",
            "example": "moloco",
            "isFilter": true,
            "isApp": true,
            "isWeb": true,
            "type": "string"
          },
          {
            "key": "campaign",
            "name": "Campaign",
            "description": "The campaign that generated the touchpoint. The campaign name entered in SAN or collected by the campaign parameter of the tracking link.",
            "example": "2018_summer_campaign",
            "isFilter": true,
            "isApp": true,
            "isWeb": true,
            "type": "string"
          }
        ]
      },
      {
        "name": "Device",
        "fields": [
          {
            "key": "device_type",
            "name": "Device Type",
            "description": "Device Type\n- mobile\n- tablet\n- desktop\n- other",
            "example": "mobile",
            "isFilter": true,
            "isApp": true,
            "isWeb": true,
            "type": "string"
          },
          {
            "key": "platform",
            "name": "Platform",
            "description": "Device Platform\n- Android\n- iOS\n- Desktop\n- Other",
            "example": "Android",
            "isFilter": true,
            "isApp": true,
            "isWeb": true,
            "type": "string"
          }
        ]
      }
    ]
  }
  ```

  ```json 404 theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  {
    "type": "about:blank",
    "title": "Not Found",
    "status": 404,
    "traceId": "1-000000-000000000000000"
  }
  ```
</ResponseExample>
