Read a built page
One page of a build as a visitor would read it, for an agent with no browser: title, description, headings, links, the visible text, and issues a quick review would catch (no h1, images without alt, placeholder text). Default: the home page of the newest ready build of the draft. With a browser, getSiteBuild with preview=true gives a link to look at it instead.
GET/v1/sites/{site_id}/pages
Requires sites:read. Changes nothing.
Returns the page’s title, description, headings, links and visible text, the other pages of the build, and issues a quick review would catch: no <title> or h1, several h1, images without alt, links without text, placeholder text. Default: / of the newest ready build of the draft.
With a browser, Retrieve a build with preview=true returns a private link to look at the page instead.
Authorizations
Authorizationbearerin headerrequiredPath parameters
site_idstringrequiredThe site's id, or its slug (the address before .atelier201.page).
Query parameters
pathstringlength: ≤ 600 charsThe page, as a visitor would type it: / or /about. Default /.
build_idstring<uuid>pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$A build. Default: the newest ready build of the draft (what a preview shows).
Response
Read a built page
dataobjectrequiredrequest_idstringrequiredPossible codes: invalid_request, unknown_field, invalid_parameter, invalid_cursor
errorobjectrequiredrequest_idstringrequiredPossible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_credits
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_scope, feature_not_available, admin_required
errorobjectrequiredrequest_idstringrequiredPossible codes: resource_not_found
errorobjectrequiredrequest_idstringrequiredPossible codes: conflict, result_not_ready, idempotency_key_reused
errorobjectrequiredrequest_idstringrequiredPossible codes: result_expired
errorobjectrequiredrequest_idstringrequiredPossible codes: request_too_large
errorobjectrequiredrequest_idstringrequiredPossible codes: request_too_large_for_plan
errorobjectrequiredrequest_idstringrequiredPossible codes: rate_limited
errorobjectrequiredrequest_idstringrequiredPossible codes: internal_error
errorobjectrequiredrequest_idstringrequiredPossible codes: service_unavailable
errorobjectrequiredrequest_idstringrequired