---
title: "Palette Collection"
method: POST
path: "/palette/collection"
---

# Palette Collection

`POST /palette/collection`

## Request

- Base URL: `https://api.colourmemory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.colourmemory.com/palette/collection`
- Auth: none declared

Generate a collection of independent themed palettes in one call --
n_palettes x colours_per_palette, each theme its own palette. Retrieval
and validation are fully deterministic; the LLM only writes palette
names for palettes that already passed every QA assertion in Step 4.

## Headers

- `x-api-key` string, nullable
- `origin` string, nullable

## Request body

- PaletteCollectionRequest
  - `title` string
  - `archive` string
  - `themes` string[]
  - `n_palettes` integer
  - `colours_per_palette` integer
  - `strict_sources` boolean
  - `confidence_threshold` number
  - `minimum_claim_strength` string
  - `include_neutrals` boolean
  - `avoid` string[]
  - `allow_partial` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/colourmemory/apis/colour-memory-api.md) · [All operations](https://skmtc.dev/colourmemory/apis/colour-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/colourmemory/apis/colour-memory-api/revisions/4ba028f64042?raw)
