---
title: "POST /api/v1/operations/index-advisor/decisions"
method: POST
path: "/api/v1/operations/index-advisor/decisions"
tags: ["operations-controller"]
---

# POST /api/v1/operations/index-advisor/decisions

`POST /api/v1/operations/index-advisor/decisions`

## Request body

- IndexDecisionRequest
  - `action` 'CREATE' | 'REJECT', required
  - `clusterName` string
  - `namespace` string, required
  - `keys` IndexKeyDto[], required
    - `field` string
    - `direction` integer
  - `weight` number, double
  - `note` string

## Response `200`

OK

## Other responses

- `400` — Bad Request

## Changes

- **2026-08-29** `9db94ab09bfb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gosure/apis/gosure-api/changes/api/v1/operations/index-advisor/decisions/post.md)

---

[API](https://skmtc.dev/gosure/apis/gosure-api.md) · [All operations](https://skmtc.dev/gosure/apis/gosure-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gosure/gosure-api/revisions/9ba40ce63f15/schema)
