> ## 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.

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

사용할 수 있는 리포트 메트릭을 조회합니다. \[[참고](https://docs.google.com/spreadsheets/d/13ThNnryqRmZQwJVecM8lZ2OB7LzA8s3cwLlQBGpbXLg/edit?gid=529776707#gid=529776707)]

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

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

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

***

<h3 id="메타데이터-가져오기-metric-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="메타데이터-가져오기-metric-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/metrics' \
    -H 'Accept-Language: ko' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'
  ```
</RequestExample>

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

***

### 200

### 404

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

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  {
    "data": [
      {
        "name": "App",
        "metrics": [
          {
            "key": "app_au",
            "name": "Active Users (App)",
            "description": "The number of unique users who performed any app event",
            "valueType": "integer",
            "isInactive": false
          },
          {
            "key": "app_pu",
            "name": "Paying Users (App)",
            "description": "The number of unique users who performed the Revenue events(Order Complete, Subscribe, Ad Click, Ad Impression) in App",
            "valueType": "integer",
            "isInactive": false
          }
        ]
      },
      {
        "name": "Web",
        "metrics": [
          {
            "key": "web_au",
            "name": "Active Users (Web)",
            "description": "The number of unique users who performed any web event",
            "valueType": "integer",
            "isInactive": false
          },
          {
            "key": "web_pu",
            "name": "Paying Users (Web)",
            "description": "The number of unique users who performed the Revenue events(Order Complete, Subscribe, Ad Click, Ad Impression) in Web",
            "valueType": "integer",
            "isInactive": false
          }
        ]
      }
    ]
  }
  ```

  ```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>
