Skip to content

Update from code changes: document suggestion payload on V2 comment annotations#299

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/d8ef0204
Open

Update from code changes: document suggestion payload on V2 comment annotations#299
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/d8ef0204

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

The V2 comment annotations REST API now accepts a full caller-supplied suggestion payload (target, old/new values, summary, drift flag, plus arbitrary custom fields) on both the add and update endpoints, with status remaining server-owned. This PR documents that new field on both endpoints and adds an example. The AI Credits Billing System that also shipped in this release is an internal Superflow-portal/admin surface and does not appear in the SDK or REST API docs, so it isn't documented here. Triggering release: https://github.com/snippyly/internal-release-notes/pull/14

Changes

  • Added a suggestion object field to the V2 add-comment-annotations reference, with per-property descriptions (targetId, targetType, oldValue, newValue, summary, driftDetected) and a note that status is server-owned and custom fields are persisted verbatim.
  • Added a new "Add a suggestion with a proposed-change payload" example request under the add endpoint.
  • Added the same suggestion object field to the V2 update-comment-annotations reference, noting the update path replaces the persisted object and cannot change status.

@mintlify

mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
velt 🟢 Ready View Preview Jul 20, 2026, 6:39 PM

@mintlify

mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
velt 🟡 Building Jul 20, 2026, 6:36 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants