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

# Get Metadata (Metric)

Query the available report metrics. \[[Note](https://docs.google.com/spreadsheets/d/13ThNnryqRmZQwJVecM8lZ2OB7LzA8s3cwLlQBGpbXLg/edit?gid=530566880#gid=530566880)]

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

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

<h2 id="get-metadata-metric-request">
  Request
</h2>

***

<h3 id="get-metadata-metric-headers">
  Headers
</h3>

<ParamField header="Accept-Language" type="string">
  You can specify the language to use for API requests and responses. It follows the ISO-639-1 format.
</ParamField>

<ParamField header="Content-Type" type="string">
  Represents the media type of the resource. Defaults to `application/json`.
</ParamField>

<ParamField header="Authorization" type="string">
  The key value to use for API requests. Instructions for getting API keys are in "[how to generate API Keys](/en/references/introduction#authorization)".
</ParamField>

<h3 id="get-metadata-metric-path-params">
  Path Params
</h3>

<ParamField path="app_name" type="string" required>
  Airbridge App Name. (Unique ID)
</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}/revenue-report/metrics' \
    -H 'Accept-Language: ko' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'
  ```
</RequestExample>

<h2 id="get-metadata-metric-response">
  Response
</h2>

***

### 200

### 404

There is an error in the field you entered, or there is no such resource.

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
  {
    "data": [
      {
        "name": "Metric",
        "metrics": [
          {
            "key": "app_revenue",
            "name": "Revenue",
            "description": "Sum of value generated from revenue events",
            "valueType": "number",
            "aggregationType": [
              "cumulative",
              "on-day"
            ]
          },
          {
            "key": "app_user_count",
            "name": "User Count",
            "description": "The total number of unique users who performed revenue events",
            "valueType": "integer",
            "aggregationType": [
              "on-day",
              "unique-cumulative"
            ]
          }
        ]
      },
      {
        "name": "Sub Metric",
        "metrics": [
          {
            "key": "customer_acquisition_cost",
            "name": "CAC",
            "description": "Customer Acquisition Cost; the average cost to acquire a user who performed Start Event within the set date range<br>Total Cost/Users",
            "valueType": "number",
            "aggregationType": null
          },
          {
            "key": "start_event_users",
            "name": "Users",
            "description": "The number of users who performed Start Event to open the app within the set date range",
            "valueType": "integer",
            "aggregationType": null
          }
        ]
      }
    ]
  }
  ```

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