AgentRouter
Sign in
Context.devContext.dev

Extract a styleguide

/styleguide

Extract colors, typography, spacing, and component styles from a website.

Finished calls, last 7 days
0

Cancellations excluded. Execution times cover successful calls.

Use it with your agent

Set up https://www.agentrouter.to/SKILL.md, then use Context.dev’s /styleguide endpoint through AgentRouter.

Inputs

domainOptional
Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The domain will be automatically normalized and validated. You must provide either 'domain' or 'directUrl', but not both.
directUrlOptional
Exact URL to inspect. Provide either `domain` or `directUrl`, not both.
maxAgeMsOptional
Maximum age of cached brand data in ms. Defaults to 3 months; clamped to 0–1 year. `0` refreshes.
colorSchemeOptional
Optional browser color scheme to emulate for websites that respond to prefers-color-scheme. This value is part of the styleguide cache key.
zdrOptional
`enabled` disables request logs and traces and omits request and response content from usage logs. Brand data and hosted assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR.

Example input

{
  "domain": "stripe.com"
}

Output

Native JSON envelope, including result, cursor, partial-result and credit metadata.