AI agent instructions
AI agent instructions
GET /data/web/styleguide visits a site and returns its design tokens: colors, fonts, spacing, shadows and common components.
Try it in the Console
Try this API in the playground, no code needed.
Quick start
finalDOMState is loaded or still-loading. If it is still-loading, the page hadn’t settled when the styleguide was captured.
Parameters
All parameters are query parameters.string
The site to analyze, for example
stripe.com.string
A full URL, when you need a specific page instead of a domain.
string
default:"light"
Which color scheme to capture.
integer
Maximum age of a cached result.
0 forces a fresh capture.timeoutOpts[milliseconds], timeoutOpts[behavior], zdr and tags are also query parameters. They work as described in common parameters.