Arclen UI API documentation
Read the Arclen UI registry and download API: endpoints, settings, authentication and structured errors.
Read and install components
The public HTTP API exposes component packages and agent briefs. GET /r/registry.json lists free component summaries. GET /r/{slug}.json returns the native Arclen UI registry item with source files, dependencies and settings metadata (binary files are base64-encoded). GET /r/{slug}.md returns an agent brief. Use a slug from the registry, such as signal-field.
GET /api/download/{slug} returns a standalone HTML ZIP. Add format=html to request the inlined HTML as text/plain. Registry items, briefs and downloads accept a settings query parameter containing a URL-encoded JSON object. Setting keys, types and bounds come from the component metadata; invalid settings return HTTP 400. Do not send local blob URLs as portable assets.
Access and errors
Free components do not require authentication. Pro delivery checks Arclen UI entitlement on the server. Signed-in browser sessions can download licensed packages. When agent tokens are enabled, an agent can send Authorization: Bearer <token>; see the agents page for current availability and setup. Never put tokens in query strings or commit them to source control.
Delivery errors are application/json with error, code, message, hint and docs fields. Codes include NOT_FOUND, INVALID_SETTINGS, UNAUTHORIZED, FORBIDDEN and UNAVAILABLE. HTTP 401 means the caller is not identified; 403 means identified without Pro access; 503 means a package or access check is temporarily unavailable. Do not retry 400 or 403 without correcting the request or access. Protected responses use private, no-store caching.
The OpenAPI 3.1 specification documents the supported read-only integration surface. Browser sign-in, checkout and account-management routes are not general-purpose agent tools. No public MCP server or separate SDK is advertised. Use the CLI, agent skill or HTTP API. No fixed public request quota is promised; avoid repeated downloads and back off on 429 or 503 responses.
Markdown for agents
Request the homepage with Accept: text/markdown for a Markdown product and installation guide at the same URL. HTML remains available with Accept: text/html. Responses vary by Accept, honor quality values, and return 406 when neither representation is acceptable. Component pages and these resource pages also support Markdown. Missing document paths return HTTP 404 with a Markdown explanation and documentation links when Markdown is requested.