For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting started

Most endpoints are public and require no credentials. Just call them directly with a JSON body:

POST https://api-uicp.yelbolt.workers.dev/v1/get-palette
Content-Type: application/json

To publish or manage palettes in the community gallery you'll need an access token. Here's the flow:

  1. Call GET /authenticate — it returns a Server-Sent Events stream.

  2. Open the auth_url from the first event in your browser and sign in.

  3. The stream emits a success event with access_token and refresh_token.

  4. Pass the token on protected endpoints: Authorization: Bearer <access_token>

Last updated