Judge a palette being edited (seven colours, or brand colours with overrides)
post/hosting/design-library/palette/evaluate
Judge a palette being edited (seven colours, or brand colours with overrides): every contrast and colour-blind check with its result, the colours as seen with each kind of colour blindness, and the smallest change that fixes what fails. Stores nothing.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:read- Mcp
rivier_design_library_evaluate_palette- Graphql
Query.hostingLibraryEvaluatePalette- Sdk
hosting.library.evaluatePalette- Cli
hosting library evaluate palette
Request bodyapplication/json, required
- brandobject
- colorslist of stringrequired
- colorsobject
- modestringOne of: light, dark. Default: light.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring