Annotations

Update Annotation

Available for: Chatflow, Chatbot, Agent apps.

Updates the question and answer of an existing annotation.

put/apps/annotations/{annotation_id}

Path parameters

annotation_idstring uuid required

The unique identifier of the annotation to update.

Request body

questionstring required

Updated annotation question.

answerstring required

Updated annotation answer.

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).

Changes