---
title: "Create a new index"
method: POST
path: "/v0/indices"
tags: ["Indices"]
---

# Create a new index

`POST /v0/indices`

Creates a new custom index with the provided parameters. This endpoint is for creating custom indices only; preset indices are pre-generated and can be viewed using the list indices endpoint.

## Request body

- AtlasIndexCreateRequest
  - `name` string, required
  - `description` string, required
  - `rescale` integer[], required
  - `expression` string, required
  - `colormap` string, required
  - `satellite_id` string, required
  - `expression_type` 'composite' | 'index' | 'grayscale', required

## Response `201`

Created

- AtlasIndexCreateResponse
  - `bands` string[]
  - `colormap` string
  - `created_at` string
  - `description` string
  - `expression` string
  - `expression_type` 'composite' | 'index' | 'grayscale'
  - `id` string
  - `name` string
  - `rescale` integer[]
  - `satellite_id` string
  - `type` 'custom' | 'preset'
  - `updated_at` string

## Other responses

- `400` — Bad Request
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/pixxel/apis/stargate.md) · [All operations](https://skmtc.net/pixxel/apis/stargate/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pixxel/stargate/versions/b501e2ca5a9d/schema)
