---
title: "Counts the SentenceAnnotations of the User (by user_id) per Codes (by class_ids) in Documents (by sdoc_ids)"
method: POST
path: "/sentence/count_annotations/{user_id}"
tags: ["sentenceAnnotation"]
---

# Counts the SentenceAnnotations of the User (by user_id) per Codes (by class_ids) in Documents (by sdoc_ids)

`POST /sentence/count_annotations/{user_id}`

## Path parameters

- `user_id` integer, required

## Request body

- BodySentenceAnnotationCountAnnotations
  - `sdoc_ids` integer[], required
  - `class_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)
