Skip to main content
Cyrnel exposes the registries it knows about under /registries. All endpoints require the API key (Authorization: Bearer <key>) when one is configured and are documented interactively in the API Reference tab.

Endpoints

Related install/update endpoints (same API, same auth): Browse passthrough query params: Browsing a registry that offers no supported capability returns 404 Registry '<id>' does not support definitions. / ... modules.. The icon proxy endpoints exist in the router but are not in the OpenAPI spec.

Add a registry

POST /registries
  • baseUrl must be an absolute http(s) URL; it is normalized (trailing slash) before storage.
  • id is optional; defaults to the advertised well-known id.
  • Discovery happens first: a registry with no supported capability fails 400; a bad upstream yields 400/502.
  • A conflicting id or base URL yields 409.
  • Optional auth body: { "type": "apiKey", "apiKey": "..." } or { "type": "oauth2", "clientId": "...", "clientSecret": "...", "scopes": [...] }. Auth is validated against the live advertisement before anything is stored.

Errors

Rate-limit responses carry a machine-readable body:
Last modified on August 25, 2026