agent-pages

Publish Agent Pages

Changed on

Make pages Agent Pages now, including pages the site's sitemap does not list. Each path is fetched and optimized right away and served once that finishes, usually within minutes. A path on the Ignore List is published only if the unpublish API put it there. Returns one outcome per requested path. Each path can be published once every 5 minutes, and each brand up to 500 paths per rolling hour and 5,000 per rolling 24 hours. Returns 429 with a Retry-After header when the brand's quota is used up, and 409 when Agent Pages are not active on the site.

post/{brand_id}/sites/{site_id}/agent-pages/publish

Request

  • Base URL
    https://api.scrunchai.com/v1
  • Auth
    HTTP bearer

Path parameters

brand_idinteger required
string required
OR
string binary required

Request body

pathsstring[] required

Site-relative paths to publish, e.g. ['/pricing'].

Response

Successful Response

Changes