---
title: "Create Metric"
method: POST
path: "/api/v1/custom-metrics"
tags: ["Custom Metrics"]
---

# Create Metric

`POST /api/v1/custom-metrics`

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/custom-metrics`
- Auth: HTTP bearer

## Request body

- CustomMetricCreate
  - `name` string, required
  - `description` string, nullable
  - `formula` FormulaToken[], required
    - `type` string, required
    - `value` string, required
  - `format` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/brandbooster-api.md) - [All operations](https://skmtc.dev/brandbooster/apis/brandbooster-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/brandbooster-api/revisions/f84fc05f417b?raw)
