---
title: "Based on the approach, count the number of existing assistant annotations"
method: POST
path: "/llm/count_existing_assistant_annotations"
tags: ["llm"]
---

# Based on the approach, count the number of existing assistant annotations

`POST /llm/count_existing_assistant_annotations`

## Query parameters

- `task_type` 'TAGGING' | 'METADATA_EXTRACTION' | 'ANNOTATION' | 'SENTENCE_ANNOTATION', required
- `approach_type` 'LLM_ZERO_SHOT' | 'LLM_FEW_SHOT', required

## Request body

- BodyLlmCountExistingAssistantAnnotations
  - `sdoc_ids` integer[], required
  - `code_ids` integer[], required

## Response `200`

Successful Response

- object

## 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/revisions/6b22366ce2d1/schema)
