---
title: "Remove selected layout points from note content (response only)"
method: POST
path: "/api/ai/remove-refinement-suggestion/{note}"
tags: ["ai-controller"]
---

# Remove selected layout points from note content (response only)

`POST /api/ai/remove-refinement-suggestion/{note}`

Returns AI-regenerated note content in the response. Does not persist the note; the client must save the returned text (for example via the note update API).

## Path parameters

- `note` integer, required

## Request body

- NoteRefinementLayoutSelectionRequestDTO
  - `layout` NoteRefinementLayout
    - `items` NoteRefinementLayoutItem[], required
      - `id` string, required
      - `text` string, required
      - `alreadyExtracted` boolean, required
      - `ledToQuestion` boolean, required
      - `children` NoteRefinementLayoutItem[], required
  - `selectedItemIds` string[]

## Response `200`

OK

---

[API](https://skmtc.net/nerds-odd-e/apis/openapi-definition.md) · [All operations](https://skmtc.net/nerds-odd-e/apis/openapi-definition/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nerds-odd-e/openapi-definition/versions/f04215d476a6/schema)
