Skip to main content
External annotations let a local tool add findings to an open Plannotator session. The user sees them immediately and they are included when Plannotator exports feedback. Copy the active session URL from the terminal or plannotator sessions, then replace PORT below. The endpoint is unauthenticated and should remain on the local or forwarded trusted boundary.

Add a plan or document comment

A sidebar comment needs source and text. Its default type is GLOBAL_COMMENT.
To pin a comment or deletion to existing text, use COMMENT or DELETION and include the exact phrase in originalText:
Plan and document fields: Plannotator creates the annotation ID and placement metadata. Do not send a blockId.

Add a code review finding

This example creates a line-level concern on the new side of a diff:
For a suggestion, include replacement code:
Review fields:

Add a batch

Wrap multiple valid objects in annotations. The request succeeds with 201 and returns the generated IDs.
An empty batch or one invalid object returns 400 and adds nothing.

Read, update, and remove annotations

The event stream sends a heartbeat every 30 seconds. Use the snapshot endpoint with since as a polling fallback. External annotations live only for the current session. Persist findings in your own tool if they must survive after the Plannotator server closes. Last verified against Plannotator OSS v0.23.1 on July 18, 2026. Maintained by the Plannotator project.
Last modified on July 19, 2026