---
title: "Returns the SourceDocument's word frequencies with the given ID if it exists"
method: GET
path: "/word_frequency/sdoc/{sdoc_id}"
tags: ["word_frequency"]
---

# Returns the SourceDocument's word frequencies with the given ID if it exists

`GET /word_frequency/sdoc/{sdoc_id}`

## Path parameters

- `sdoc_id` integer, required

## Response `200`

Successful Response

- WordFrequencyRead[]
  - `sdoc_id` integer, required — ID of the SourceDocument
  - `word` string, required — Word
  - `count` integer, required — Count of the word in the SourceDocument

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