Edit GEO Writer task content
Changed onEdits the text of a completed task in place. edits maps dotted paths into result_data (for example title or sections.0.content) to replacement text. Only string fields that already exist can change: a path that does not resolve to text, a blank title, a value over 20,000 characters or an empty edits object is rejected with ERR_INVALID_PARAM and nothing is written. Send the result_version you last read with the edits: when the task was regenerated since, the request is refused with ERR_STALE_CONTENT (409), nothing is written and error.meta.result_version holds the current token. Without result_version the edits apply to whatever the task holds now. Values identical to the stored text are ignored, and the response lists the paths that actually changed. The first edit keeps a copy of the generated output so POST /intelligence_tasks/{id}/revert can restore it; regenerating the task replaces the edited content. Requires a read_write scope API key and, for team members, update permission on GEO Writer. On a product_listing task, description_html keeps only p, ul, ol, li, strong, em, h3 and br, with no attributes: other markup is stripped, not refused, so read the stored value from the response. A revert restores the generated description cleaned the same way.
Request
- Base URLhttps://api.llmpulse.ai/api/v1
- URLhttps://api.llmpulse.ai/api/v1/intelligence_tasks/{id}
- AuthAPI key in header Authorization
Path parameters
Numeric task ID or public_id string token
Request body
Example request
{
"edits": {
"title": "How to measure AI visibility in 2026",
"sections.0.content": "AI visibility is the share of AI answers that mention your brand."
},
"result_version": "1775642580"
}Response
Updated task with the paths that changed
Example response
{
"result_version": "1775642580"
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info