---
title: "Palette Pattern"
method: POST
path: "/palette/pattern"
---

# Palette Pattern

`POST /palette/pattern`

## 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/pattern`
- Auth: none declared

Assign archive palette colours to pattern roles based on pattern type.
Returns structured colour assignments with role labels, proportions
summing to 100%, and a locked Midjourney prompt.

Pattern types: stripe, damask, lozenge, trellis, ogee, flock, geometric
Each type has its own palette architecture logic.

## Headers

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

## Request body

- PalettePatternRequest
  - `palette` string[], required
  - `pattern_type` string
  - `use_case` string
  - `market` string

## 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)
