---
title: "Create Business Mapping"
method: POST
path: "/api/v1/usage/business-mapping/mappings"
tags: ["Business Mapping"]
---

# Create Business Mapping

`POST /api/v1/usage/business-mapping/mappings`

## Request

- Base URL: `https://api.umbrellacost.io`
- URL: `https://api.umbrellacost.io/api/v1/usage/business-mapping/mappings`
- Auth: none declared. Required headers: `Authorization`, `apikey`

This call is used to create a business mapping rule in the account.

## Headers

- `Authorization` string, required
- `apikey` string, required

## Request body

- object
  - `name` string, required: mapping name
  - `rank` integer, required: ranked order of this rule
  - `rules` string[], required: Filters which define the mapping (Array of filter fields- See structure above)
  - `split` boolean: Determine whether the cost should be split
  - `splitOptions` string: split type (One of "EQUAL", "RATIO")
  - `mappings` string[]: Mapping ids to be split (Array of mapping IDs)

## Response `200`

---

[API](https://skmtc.dev/umbrellacost/apis/cost-usage.md) - [All operations](https://skmtc.dev/umbrellacost/apis/cost-usage/llms.txt) - [OpenAPI document](https://skmtc.dev/umbrellacost/apis/cost-usage/revisions/c5ae311d18ae?raw)
