---
title: "Seed system materials and styles from a request body. Materials and styles are upserted (by name, then id) — re-runs are idempotent."
method: POST
path: "/v1/admin/init"
tags: ["Admin Design Catalog"]
---

# Seed system materials and styles from a request body. Materials and styles are upserted (by name, then id) — re-runs are idempotent.

`POST /v1/admin/init`

## Request body

- SeedDesignCatalogDto
  - `materials` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `thumbnailKey` string, required
    - `textureKey` string, required
    - `category` 'wood_flooring' | 'concrete' | 'tile' | 'fabric' | 'wood' | 'stone' | 'metal' | 'rug' | 'plant' | 'wood_paneling' | 'brick' | 'outdoor', required
    - `textureWidth` integer, required
    - `textureHeight` integer, required
    - `llmPrompt` string, nullable
  - `styles` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `llmPrompt` string, nullable
    - `thumbnailKey` string, required
    - `categoryDefaults` object[], required
      - `category` 'general_floor' | 'bathroom_floor' | 'wall' | 'door' | 'window' | 'hard_furniture' | 'soft_furniture' | 'kitchen_countertops' | 'kitchen_cabinets' | 'bathroom_countertops' | 'bathroom_cabinets' | 'rugs' | 'plants' | 'appliances' | 'plumbing_fixtures' | 'waterproof' | 'outdoor_furniture' | 'upholstered' | 'ceiling' | 'deck' | 'balcony' | 'front_porch' | 'gym_equipment' | 'pool_table' | 'ping_pong' | 'yoga_mat', required
      - `materialId` string, uuid, nullable, required
      - `color` string, nullable, required

## Response `204`

Materials and styles seeded successfully

- NoContentResponseDto
  - `success` boolean, required — Indicates if the request was successful
  - `message` string, required — Human readable message
  - `data` union, required — Response data
    - unknown
    - unknown
  - `timestamp` string, date-time, required — Timestamp of the response

---

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