Design Intelligence
Request website design analysis, inspect capture coverage and retrieve verified evidence through Listaro REST, SDKs and MCP.
Analyze one public web page with analyze_design. Use a fixed profile for common requests or select the domains your application needs.
| Profile | Requested domains and output |
|---|---|
logo | Brand and evidence, JSON and supported downloadable assets |
colors | Colors and evidence, JSON, CSS, DTCG tokens and CSV |
fonts | Typography and evidence, JSON, CSS and CSV |
design_md | All twelve domains, DESIGN.md, JSON, tokens, CSS and ZIP |
custom | Selected domains and output formats |
The domains are brand, colors, typography, geometry, components, layout, responsive, themes, interaction, motion, accessibility and evidence. A custom request runs any dependencies needed for measurement. The result identifies these dependencies separately. JSON is always available when a usable result is published.
Start an analysis
Send direct JSON to POST /api/v1/operations/analyze_design. Use a workspace key with the analyze_design scope. Keep the idempotency key for a retry of the same logical request and payload.
curl -X POST 'https://www.listaro.io/api/v1/operations/analyze_design' \
-H "Authorization: Bearer $LISTARO_API_KEY" \
-H 'Idempotency-Key: design-reference-001' \
-H 'Content-Type: application/json' \
--data '{"url":"https://www.listaro.io/","profile":"colors"}'To select domains, send {"url":"https://www.listaro.io/","domains":["colors","typography","layout"],"outputs":["json"]}. Omit profile or use custom. The named viewports are desktop, tablet, mobile and reflow. Set capture.theme to default, light, dark or both. Use capture.states: "safe" with interaction for emulated hover and focus observations. Screenshots are opt-in. Each capture identifies its actual resolution, device pixel ratio and media settings.
Follow the job
Read jobId from admission. POST {"jobId":"RETURNED_JOB_ID"} to /api/v1/operations/get_job with a key scoped to get_job. If a request returns an uncertain outcome, check the returned operation ID in Get Job or workspace activity before retrying with the original key. A new key starts new work. To cancel an owned job, call cancel_job with its job ID.
A completed or partial design run can include a bounded preview and design.artifacts descriptors. Read design-intelligence.json for the full listaro.design-intelligence/v1 evidence graph. Per-domain coverage explains partial or unavailable measurements. An observed value comes from a capture or verified bytes. A declared value comes from source markup or CSS. An inferred value records a classification supported by underlying observations.
Retrieve exports
Use GET /api/v1/artifacts/{artifactId}?offset=0&limitBytes=65536 with the get_artifact scope. Follow nextOffset until null. Verify file length and SHA-256 against the descriptor. The evidence manifest lists the exact bytes and hash for each included file. DESIGN.md uses the Google alpha format validator 0.4.0. Tokens use the DTCG 2025.10 format for supported values. The evidence JSON retains source values where an export format has limited representation.
SDKs and MCP
The repository includes a TypeScript DesignClient in src/design-intelligence/client.ts and a Python DesignClient under clients/python/listaro_workflows/design.py. Build the TypeScript package and declarations with npm run build:design-client, then install ./.data/listaro-design-client from the checkout. Install the Python package with pip install ./clients/python. Keep API keys in your application environment.
from listaro_workflows.design import DesignClient
client = DesignClient()
run = client.analyze_design(
{"url": "https://www.listaro.io/", "profile": "fonts"},
idempotency_key="font-reference-001",
)
job = client.wait_for_job(run.get("jobId") or run["operationId"])import { DesignClient } from "listaro-design-client";
const client = new DesignClient(process.env.LISTARO_API_KEY!);
const run = await client.analyzeDesign(
{ url: "https://www.listaro.io/", profile: "colors" },
"color-reference-001",
);
const job = await client.waitForJob(run.jobId ?? run.operationId!);Connect to https://www.listaro.io/mcp with a workspace role and grant that allow execution. Call analyze_design, then use get_job and get_artifact for evidence. Reconnect through the standard OAuth flow if an older scoped grant lacks the operation.
Reusable Design workflows
For multi-page app foundations, developer handoff packages, versioned brand datasets or approved-baseline website QA, use the Design templates in Workflows when they are available in your workspace. They reuse the same measured source evidence and preserve incomplete or unavailable observations. The live template catalog identifies available workflows and their supported inputs. Enabled Design workflow execution has no credit charge, subject to existing workspace permissions and capacity limits.
Scope and limits
Analysis is limited to credential-free public HTTP(S) pages. Unavailable fonts, stylesheets, referenced assets or blocked rendering can reduce coverage. Accessibility results describe selected rules and sampled elements. Emulated color schemes and states show style differences under the selected capture context. Screenshots mask form controls and editable regions.
Design Intelligence API · Website Logo Extractor · Website Color Extractor · Website Font Extractor · URL to DESIGN.md Generator · API reference

