---
title: "Webhook Handler"
method: POST
path: "ASPECT_UPDATED"
---

# Webhook Handler

`POST ASPECT_UPDATED` (webhook)

## Acknowledgement `200`

Successful Response

- AspectUpdatedEvent
  - `type` 'ASPECT_UPDATED'
  - `payload` AspectRead, required
    - `name` string, required — Name of the aspect
    - `doc_embedding_prompt` string, required — Prompt for document embedding
    - `doc_modification_prompt` string, nullable — Prompt for document modification
    - `is_hierarchical` boolean, required — Whether the aspect is hierarchical
    - `modality` 'text' | 'image' | 'video' | 'audio', required
    - `pipeline_settings` PipelineSettings, required — Settings for the perspective creation pipeline. When updating these settings, make sure to also update the frontend default settings! (PerspectiveCreationDialog.tsx)
      - `rewriting_model` string, required — Large Language Model to use for the perspective creation pipeline
      - `umap_n_neighbors` integer — Number of neighbors for UMAP dimensionality reduction
      - `umap_n_components` integer — Number of components for UMAP dimensionality reduction
      - `umap_min_dist` number — Minimum distance for UMAP dimensionality reduction
      - `umap_metric` string — Metric for UMAP dimensionality reduction
      - `hdbscan_min_cluster_size` integer — Minimum cluster size for HDBSCAN clustering
      - `hdbscan_metric` string — Metric for HDBSCAN clustering
      - `num_keywords` integer — Number of keywords to extract per cluster
      - `num_top_documents` integer — Number of top documents to extract per cluster
    - `tag_id` integer, nullable — ID of the tag associated with this aspect.
    - `id` integer, required — ID of the aspect
    - `project_id` integer, required — ID of the project this aspect belongs to
    - `most_recent_job_id` string, nullable — ID of the most recent job associated with the aspect

---

[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/c68c19b13069?raw)
