Comments

Apply an AI suggestion to the content body

Splices the AI comment's suggested_text into content.body at the comment's anchored selection, then marks the comment as resolved in a single transaction. Refuses to guess when the target text is missing or appears multiple times.

post/content/{id}/ai-comments/{commentId}/apply

Request

  • Base URL: https://next.frase.io/api/v1
  • URL: https://next.frase.io/api/v1/content/{id}/ai-comments/{commentId}/apply
  • Auth: API key in header X-API-KEY

Path parameters

idstring uuid required

Content article UUID.

commentIdstring uuid required

AI comment UUID.

Response

Suggestion applied. Content body updated and comment resolved.

request_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.