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.
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.