GET

Get Page Optimization Results


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves the optimization suggestions generated for a page.

Poll this method after a trigger call. The response's status reports where the job stands: while generation is still in progress the suggestions are empty and status is IN_PROGRESS; when it completes, the response carries the full suggestion set with status COMPLETED. A job that failed reports FAILED. Trigger again to retry. Suggestions are stored per page, so a later trigger for the same page replaces them, and a replaced job's lookup reports NOT_FOUND.

Look up by predictionId (from the trigger call), or by pageId. A predictionId can be looked up for 2 hours after the trigger call; after that, look up by pageId, which returns the page's latest generation.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
View SEO Settings
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/seo/suggestions/v1/page-optimization/results

Errors
429Resource Exhausted

There is 1 error with this status code.

500Internal

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?