This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Suggests corrected heading levels for a page's headings.
Pass the page's headings in document order, each with its raw HTML and your own reference IDs. The AI checks the heading hierarchy (one H1, no skipped levels, headings that match their content) and returns a suggested tag per heading that should change, echoing your reference IDs back so you can locate each element.
The heading nodes are the request's content, so this method works for any page, including headless projects.
You can only call this method when authenticated as a Wix app or Wix user identity.
There is 1 error with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.