Annotations

Create Annotation

Available for: Chatflow, Chatbot, Agent apps.

Creates a new annotation. Annotations provide predefined question-answer pairs that the app can match and return directly instead of generating a response.

post/apps/annotations

Request body

questionstring required

Annotation question.

answerstring required

Annotation answer.

Response

Annotation created 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