---
title: "POST /api/embed-theme/seed-defaults"
method: POST
path: "/api/embed-theme/seed-defaults"
tags: ["/api/embed-theme"]
---

# POST /api/embed-theme/seed-defaults

`POST /api/embed-theme/seed-defaults`

Seed default embedding themes on first call, using the payloads built by the frontend from the
  `METABASE_LIGHT_THEME` / `METABASE_DARK_THEME` constants.

  Idempotent: guarded by the `default-embedding-themes-seeded` setting. Once flipped, subsequent calls
  are no-ops even if the admin has since deleted the seeded themes, so deletions are preserved.

## Request body

- object
  - `themes` object[], required
    - `name` string, required
    - `settings` object, required

## Response `2XX`

Successful response

- unknown

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

## Changes

- **2026-05-22** `b1dc4ea67567` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/metabase/apis/metabase-api/changes/api/embed-theme/seed-defaults/post.md)

---

[API](https://skmtc.dev/metabase/apis/metabase-api.md) · [All operations](https://skmtc.dev/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/b1dc4ea67567/schema)
