---
title: "Returns the available strategies for the given LLM assistant task"
method: POST
path: "/llm_assistant/list_strategies"
tags: ["llm_assistant"]
---

# Returns the available strategies for the given LLM assistant task

`POST /llm_assistant/list_strategies`

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `/authentication/login`

## Query parameters

- `task_type` 'TAGGING' | 'METADATA_EXTRACTION' | 'ANNOTATION' | 'SENTENCE_ANNOTATION', required

## Response `200`

Successful Response

- StrategyInfo[]
  - `strategy_type` 'TAGGING_DEFAULT' | 'METADATA_DEFAULT' | 'SENTENCE_ANNOTATION_DEFAULT' | 'NER_INLINE_TAGS' | 'CONTEXT_ANCHORED_FUZZY_MATCHING', required
  - `name` string, required: Human-readable name of the strategy
  - `description` string, required: Explanation of what the strategy does
  - `default_params` union, required: Default strategy parameters
    - DefaultStrategyParams: Params for single-strategy tasks (tagging, metadata, sentence annotation).
      - `strategy_type` 'TAGGING_DEFAULT' | 'METADATA_DEFAULT' | 'SENTENCE_ANNOTATION_DEFAULT', required: The strategy to ground the LLM output in the document
    - NERInlineTagStrategyParams
      - `strategy_type` 'NER_INLINE_TAGS', required: The strategy to ground the LLM output in the document
    - FuzzyGroundingStrategyParams
      - `strategy_type` 'CONTEXT_ANCHORED_FUZZY_MATCHING', required: The strategy to ground the LLM output in the document
      - `fuzzy_threshold` number: Minimum similarity ratio (0-1) for fuzzy grounding of extracted quotes
      - `context_before_chars` integer: Number of context characters the LLM should provide before the quote
      - `context_after_chars` integer: Number of context characters the LLM should provide after the quote
      - `chunk_size_tokens` integer: Size of document chunks (in tokens) sent to the LLM
      - `chunk_overlap_tokens` integer: Overlap (in tokens) between consecutive chunks
  - `allowed_data_tags` string[], required: Data tags (document content placeholders) this strategy supports

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-19** `90c133703342`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/llm_assistant/list_strategies/post.md)

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) - [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/revisions/e498207e29f4?raw)
