---
title: "Assist Edit Section"
method: POST
path: "/assist/edit-section"
tags: ["assist"]
---

# Assist Edit Section

`POST /assist/edit-section`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/assist/edit-section`
- Auth: API key in header `X-Agent-Key`

Edit one page element BY INTENT: XeoRank reads the element's current text
server-side, rewrites it on Flash-Lite per your instruction, and applies it
through the validated patch path (round-trip checked, write-gated). The agent
never handles raw HTML. Use dry_run=true to preview the change first.

## Query parameters

- `email` string, nullable

## Request body

- EditSectionBody
  - `site_id` string, required
  - `post_id` integer, required
  - `node_id` string, required
  - `instruction` string, required
  - `dry_run` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
