---
title: "Create a custom band-math formula for the caller's organization (write scope)."
method: POST
path: "/v1/op/band_formulas.create"
tags: ["kernel-ops"]
---

# Create a custom band-math formula for the caller's organization (write scope).

`POST /v1/op/band_formulas.create`

## Headers

- `x-api-key` string, nullable

## Request body

- BandFormulaCreateInput
  - `name` string, required
  - `formula` string, required
  - `display_name` string, nullable
  - `description` string, nullable
  - `colormap` string
  - `value_range` number[]
  - `category` string

## Response `200`

Successful Response

- BandFormulaOutput
  - `id` string, required
  - `organization_id` string, required
  - `name` string, required
  - `display_name` string, nullable
  - `formula` string, required
  - `description` string, nullable
  - `required_bands` string[]
  - `colormap` string, required
  - `value_range` number[], required
  - `category` string, required
  - `is_template` boolean, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/geopera/apis/geopera-data-platform.md) · [All operations](https://skmtc.dev/geopera/apis/geopera-data-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geopera/geopera-data-platform/revisions/cb0130b2a40a/schema)
