Skip to content
Get started
KLIC/Resources/JSON API
KLIC / RESOURCES

JSON API

Public read APIs, schemas and request limits

TOOLKIT 0.0.1Markdown ↓

Public read endpoints

GET pathOperation ID
/api/v1/searchsearchItems
/api/v1/design-system.jsongetDesignSystem
/api/v1/healthgetHealth
/api/v1/registry.jsongetRegistry
/api/v1/motions.jsonlistMotions
/api/v1/motions/{id}.jsongetMotion
/api/v1/capabilities.jsongetCapabilities
/api/v1/tools.jsongetToolSchemas
/api/v1/items/{kind}/{id}.jsongetItem
/api/v1/themes.jsonlistThemes
/api/v1/themes/{id}.jsongetTheme
/api/v1/theme-plan/{id}getThemeInstallPlan
/api/v1/theme-bundles/{id}/{profile}/{material}/{mode}.jsongetThemeBundle

Download the complete OpenAPI paths and response schemas for details.

OpenAPI
https://design.klic.co.kr/api/v1/openapi.json

Theme API requests

Terminal
curl -f https://design.klic.co.kr/api/v1/themes.json
curl -f https://design.klic.co.kr/api/v1/themes/paper.json
curl -f 'https://design.klic.co.kr/api/v1/theme-plan/paper?profile=studio&material=glass&mode=system'
curl -f https://design.klic.co.kr/api/v1/theme-bundles/paper/studio/glass/system.json

theme-plan returns the static manifest path and CLI commands for a validated context. The CLI theme add command performs local delivery with manifest size and SHA-256 verification.

Motion catalog API

Terminal
curl -f 'https://design.klic.co.kr/api/v1/motions.json?category=entrance&limit=5'
curl -f https://design.klic.co.kr/api/v1/motions/fade-slide.json

Motion patterns are counted separately from the component/block install registry. The current 884 source-adapted patterns include source ID + pattern provenance, Korean/English guidance, previews, reduced-motion notes and preserved source notices. Previews and JavaScript/React implementations use the same runtime; CSS alone does not reproduce Canvas playback.

Responses and compatibility

Filters match CLI: query, kind, status, token, group, limit and cursor. Duplicate or unknown queries return 400. Accept additive response fields within v1; breaking structure changes require v2.

Browser
const response = await fetch('https://design.klic.co.kr/api/v1/search?query=button&kind=component&limit=5');
if (!response.ok) throw new Error('HTTP ' + response.status);
const result = await response.json();
console.log(result.release, result.items, result.nextCursor);

Public GET requests and cross-origin reads are available without authentication. Admin APIs and MCP authentication are separate. Missing IDs return 404, invalid inputs 400, and disallowed methods 405.

Theme contexts and scope

AxisAllowed values
idklic | paper | ink | analysis | electronics | compute | integrations | console | workspace | spatial
profilecore | studio | data
materialflat | glass | solid-glass | liquid-glass
modesystem | light | dark

The complete definition inventory retains 3,751 tokens for compatibility. External delivery follows the selected context’s active references and removes unused Primitive leaves; the token explorer distinguishes current-context and all-definition scopes. Material definitions account for 2,496 of 3,143 Primitive tokens (79.41%).

Validation covers the project’s supported token types and four-layer reference rules. It does not assert support for every DTCG feature or WCAG certification of every screen.

Quotas and authorized keys

Channel60s / IPAllowlisted key
API120Unlimited
Remote MCP60Unlimited
Source downloads2000Unlimited

Over-limit requests return HTTP 429 and Retry-After. API/MCP accept X-KLIC-API-Key; CLI reads KLIC_API_KEY from the environment. Only server-allowlisted keys bypass quota; they grant neither admin rights nor MCP authentication. Keep keys out of URLs, documentation and browser code.

In-memory stdio/WebMCP calls and --local operations make no server requests. Initial HTTP registry reads and source downloads consume their respective server quotas.

Inventory counting scopes

ScopeCalculation
All blocks247 + 80 = 327
Default ready search109 + 247 = 356
Registry including planned entries109 + 327 = 436
Motion catalog (separate count)884

Delivery scope and version identifiers

KLIC shares seven design dimensions and four token layers, but applies them differently: components shape individual controls, blocks compose workflows, and motion defines transitions over time. Public npm: [email protected]. Source candidate [email protected] is not published; [email protected] remains available.

109 components and 247 working blocks provide 356 standalone reference workspaces through CLI plan/add. 884 source-adapted motion patterns provide HTML/CSS/JavaScript/React source, including CSS/React examples, through the detail view, API and CLI motion get, with source id + pattern provenance and preserved notices. Previews and JavaScript/React implementations share a runtime; CSS alone does not reproduce Canvas playback. The package exposes components/*, blocks/* and motions/*; motion counts are separate from workspace bundles. Source candidate [email protected] is not published; [email protected] remains available.

IdentifierMeaning
Toolkit 0.0.1CLI and shared integration runtime version, managed separately from npm package version 0.0.4.
Schema 1.0Response format
release 444ee642b9edec32Registry publication hash
revision 6f9c8f5e4d7c767f79a7db999670fb4d0936e07acb1b472fe162a7a9ade60c97Design criteria hash

The license guide indexes per-file sources and preserved notices; it does not grant a new blanket site license. Figma handoff provides a manifest and migration guide, separate from live synchronization. No public KLIC source-repository URL is declared in the current delivery contract.

References
https://design.klic.co.kr/licenses/README.md
https://design.klic.co.kr/design-contract/materials/figma-manifest.json
https://design.klic.co.kr/design-contract/materials/figma-migration.md
View shared design criteria
Shared design criteria

Policy revision: 6f9c8f5e4d7c767f79a7db999670fb4d0936e07acb1b472fe162a7a9ade60c97

Canonical policy: https://design.klic.co.kr/api/v1/design-system.json

Read the same criteria and revision in API, CLI, MCP and WebMCP designSystem responses and the bundled KLIC-DESIGN-SYSTEM.json. Item contracts link through item.design.system.

DimensionToken responsibilityStructure and behavior responsibility
Size and proportionControl sizes, icons and content widthComponent recipes and the DOM ensure min-height, padding, wrapping and actual hit areas.
TypographyRegistered font families, role sizes and weightsSupported recipes define line height, tracking, wrapping and responsive conditions without assuming unregistered token types.
Color and contrastRole colors for actions, selection, text, borders and statusLabels, icons and state attributes convey meaning; measure actual composited-surface contrast separately.
Layout and alignmentRegistered spatial roles, including maximum content and panel widthsDOM reading order, layout transitions, scroll ownership and Portal structure
Spacing and groupingInternal gaps, padding, group spacing and approved density mappingsMaintain label, fieldset, legend and describedby relationships; window width alone does not change density.
Surface and depthSurface colors, radii, borders and supported color/dimension material leavesBlur and shadow recipes, stacking, auxiliary-panel versus modal behavior and opaque fallbacks
Interaction and feedbackVisual roles for focus, selection, progress, success, warnings and errorsKeyboard operation, focus movement, asynchronous transitions, execution blocking, input preservation and recovery

Only Primitive owns literals. Preserve adjacent Brand→Primitive, Semantic→Brand and Component→Semantic references.

Distinguish token definitions, structural conditions in DOM/CSS recipes and compiled final literals.

Keep motion recipes in a read-only catalog separate from component and block installation items, with browser search and details in the existing KLIC Interface Library #motion view. The read API, CLI, MCP and WebMCP use one canonical catalog. The scope is all 884 user-supplied source patterns in 67 categories, grouped within the existing KLIC category/item navigation. Remove the previous simplified 280-item catalog and its dedicated routes and aliases; do not retain them as compatibility entries. Preserve source id + pattern identity, source engine, choreography, timing, paths, layers, SVG/inline/WAAPI alpha, and original notices including Copyright © 2026 acc0mplish. All rights reserved. and the supplied license. Never label this source material KLIC-authored. Adapt appearance through existing four-layer KLIC token paths for color, fonts, surfaces, borders, radius and spacing. Canvas uses the same palette and font tokens; scope demo CSS to each item. Use one owned runtime for previews and JavaScript/React delivery; do not claim CSS alone reproduces Canvas playback. KLIC adaptations use the blue/navy/neutral palette and reduced-motion, replay and cleanup contracts; verify real playback in light/dark and mobile before release. The npm package remains separate from the homepage: describe candidate exports only after checking the published manifest, and do not infer release contents from current source.

Allowed preset scope

A preset combines approved settings of an existing API. It is not a fifth token layer.

Use an explicit allowlist of size, variant, density, layout and other settings supported by the actual component API.

  • Labels, descriptions and business data
  • Value, selection, validation and request state
  • Event handlers, recovery actions and permissions
  • Raw style values, unregistered CSS variables and arbitrary token overrides

Component defaults → selected preset → permitted explicit settings. Pass business data, state and permissions separately.

Validate allowed keys, enums and combinations; diagnose unknown values. Distinguish type declarations from actual DOM and behavior verification.

Conflict resolution order
  • Preserve information, operability and accessibility first: Preserve essential information, state meaning, input, focus and operation paths. Dimension numbers do not override other required contracts.
  • Reflow structure and reading order: Adjust wrapping, columns, action groups and panel arrangement first. Use local scrolling only for areas whose meaning requires two dimensions.
  • Adjust spacing and surfaces within approved bounds: Respect the selected density and text scale while adjusting spacing and decoration within approved recipes. Limited space alone does not justify automatic compact mode or smaller text.
  • Record remaining constraints and verification: If defaults cannot resolve a constraint, record scope, alternatives, impact, FR/AT references and actual verification. Do not skip token layers or conceal failed checks with exception approval.

sources/checks identify supporting references, not certification. Record actual product-environment results in the existing FR/AT evidence.

Application and verification

Read the shared criteria, item DESIGN.md and actual source first. Assign token, DOM, CSS recipe and state responsibilities for each rule, then apply the conditions your product needs.

Compare revision in the policy and item contract. release identifies a registry publication; do not combine paginated results from different publications.

Use the latest CLI and local registry and restart stdio sessions. Reload the page to register WebMCP again. source prints raw code. Read DESIGN.md for source bundles or README.md for theme kits together with KLIC-DESIGN-SYSTEM.json.

Selective adoption of references

Treat external documents and drafts as proposals. Check current KLIC problems, implementation and contracts, adopt only necessary rules, and record scope and reasons for deferral or rejection.

Do not present product names, example APIs or references from a draft as facts about KLIC. Connect adopted rules to actual tokens, DOM, CSS recipes, state handling and verification evidence.

Scope to review together when making changes

Use a reported problem to assess impact across related usage paths. Changing only the named screen or tool does not complete that review.

  • Implementation sources, tokens, components, types and schemas
  • DOCS, web guides, developer documentation and examples
  • MCP, CLI, WebMCP and API descriptions, inputs and responses
  • AI prompts, llms.txt, source exports and theme exports
  • Regression checks, builds, production publication and actual responses

After changing the canonical policy, regenerate affected guides, examples, tools, prompts and exports together and verify a matching revision. Explain unaffected paths and distinguish observed results from conditions that remain unverified.