---
title: "Automatic SEO (every page as real HTML with sitemap.xml, robots.txt, llms.txt and structured data; 2 Build Credits per publish unless the plan includes it; turning it on or off is a version of the site) and the weekly check of the published site"
method: PUT
path: "/builder/sessions/{sessionId}/quality/settings"
tags: ["Builder"]
---

# Automatic SEO (every page as real HTML with sitemap.xml, robots.txt, llms.txt and structured data; 2 Build Credits per publish unless the plan includes it; turning it on or off is a version of the site) and the weekly check of the published site

`PUT /builder/sessions/{sessionId}/quality/settings`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/builder/sessions/{sessionId}/quality/settings`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Path parameters

- `sessionId` string, uuid, required

## Request body

- object
  - `autoSeo` boolean
  - `monitoring` boolean

## Response `200`

Saved

- object
  - `settings` object, required
    - `autoSeo` boolean, required: Automatic SEO: every page as real HTML with its head and structured data, sitemap.xml, robots.txt and llms.txt at publish
    - `monitoring` boolean, required: The weekly check of the published site (a notification with "Fix it" when something is wrong)
    - `monitorNextAt` string, nullable, required: ISO-8601 timestamp
  - `turnId` string, uuid, nullable, required: The version that turned automatic SEO on or off

## Other responses

- `400`: Invalid request (code invalid_request)
- `401`: Missing or invalid session/token (code unauthorized)
- `402`: Automatic SEO needs a plan or Build Credits (code upgrade_required, details.feature builder.auto_seo)
- `403`: Not permitted (code forbidden)
- `404`: Not found or not visible to the caller (code not_found)
- `409`: Refused for now (code conflict; details.reason turn_running, archived, not_published, auto_seo_unsupported)
- `429`: Too many checks or error reports (code rate_limited; details.reason check_rate, runtime_error_rate); see Retry-After
- `501`: Site checks are not set up on this server yet (code not_configured, details.reason not_ready)

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
