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.
Authorizations
API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences. Requests with a missing or invalid API key fail with HTTP 401 and error code 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).