---
title: "Suggest annotations"
method: POST
path: "/annoscaling/confirm_suggestions"
tags: ["annoscaling"]
---

# Suggest annotations

`POST /annoscaling/confirm_suggestions`

Suggest annotations

## Request body

- AnnoscalingConfirmSuggest
  - `project_id` integer, required — Project to apply suggestions
  - `code_id` integer, required — Code to apply on accepted spans
  - `reject_code_id` integer, required — Code to apply on rejected spans
  - `accept` SdocSentencePair[], required — Suggested annotations to accept
    - `sdoc_id` integer, required
    - `sentence` integer, required
  - `reject` SdocSentencePair[], required — Suggested annotations to reject
    - `sdoc_id` integer, required
    - `sentence` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
