Create Annotation
Available for: Chatflow, Chatbot, Agent apps.
Creates an annotation. Annotations are predefined question-answer pairs the app returns directly on a match, instead of generating a fresh response.
Authorizations
Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).
Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).
Body
Response
Annotation created successfully.
Unique annotation identifier.
Question text that triggers this annotation.
Predefined answer returned when the annotation is matched.
Number of times this annotation has been matched and returned as a reply.
Creation timestamp (Unix epoch seconds).