plannotator sessions. Then replace PORT in the examples below.
Add a plan or document comment
A sidebar comment needssource and text. Its default type is GLOBAL_COMMENT.
COMMENT or DELETION and include the exact phrase in originalText:
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:Add a batch
Wrap multiple valid objects inannotations. The request succeeds with 201 and returns the generated IDs.
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.25.0 on July 27, 2026. Maintained by the Plannotator project.