Re Extract Design System
POST /brand-kit/re-extract
Re-scrape the website and rebuild the Design system. SPENDS CREDITS (it can regenerate the style guide).
Rebuilds the brand snapshot, and the style guide when the URL changed. It does not touch the organisation’s primary
website, content sources or company profile. website_url is REQUIRED (unlike POST /brand-kit/extract). The app’s
own guards apply: 402 when the organisation cannot pay (check_credits runs inside the handler, before anything is
queued), 400 for a URL that is not a public site, 409 while a re-extract or a document run is already going, 429
for a minute after one starts. Asynchronous: poll GET /brand-kit/re-extract/status.
Authorizations
Parameters
Header Parameters
Request Body required
Re-scrape the website and rebuild the Design system. website_url is required.
object
Responses
200
Successful Response
object
An open envelope for one settings block, document or brand artefact.
OPEN on purpose. These surfaces are configuration and generated content, and both grow: a new toggle on a settings block or a new field on a generated document must reach a caller on the day it ships, not on the day somebody remembers to widen a mirror. A closed response model here would silently DROP the new key, which reads to the caller as “the product does not have that setting”.
The request side is the opposite and is mirrored exactly - see the module docstring for why the asymmetry is deliberate.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error