v6

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0182128753.1 KB
Annotations

Update Annotation

Available for: Chatflow, Chatbot, Agent apps.

Updates an annotation's question and answer.

put/apps/annotations/{annotation_id}

Path parameters

annotation_idstring uuid required

ID of the annotation to update. Get annotation IDs from List Annotations.

Request body

questionstring required

New question text for the annotation.

answerstring required

New answer text for the annotation.

Response

Annotation updated successfully.

idstring uuid

Unique annotation identifier.

questionstring nullable

Question text that triggers this annotation.

answerstring nullable

Predefined answer returned when the annotation is matched.

hit_countinteger nullable

Number of times this annotation has been matched and returned as a reply.

created_atinteger nullable

Creation timestamp (Unix epoch seconds).