This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/document-engine/annotations/architecture-diagram.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Server-side PDF annotation (programmatic) | Nutrient

After you create a document via upload or URL, you can annotate it via the Web SDK or Document Engine APIs. Annotations are automatically persisted in the PostgreSQL database.

For a cross-product overview of Web SDK, Document Engine, and DWS Viewer API annotation workflows, refer to the choose the right annotation workflow setup guide.

Nutrient Web SDK sends new annotation data to Document Engine, which saves it in the database.

  1. Nutrient Web SDK sends new annotation data to Document Engine, which stores it in the database.
  2. Document Engine returns the annotation ID to the Web SDK.