Skip to Content

POST /setting/create

Create Setting

Create settings using composable infra architecture.

Request Body (CreateSettingApiRequest)

FieldTypeRequiredDescription
settingsCreateSettingItem[]YesList of settings to create
idempotency_keystringNoOperation key for ack — promotes or rejects a dormant create
softbooleanNoStage the create dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept (promote) or reject dormant state. Only meaningful with idempotency_key

Response (CreateSettingApiResponse)

FieldTypeRequiredDescription
resultsSettingResultItem[]YesPer-item creation results
settingsListSettingApiSetting[]NoHydrated list rows for the newly-created settings. Mirrors the shape of /setting/search result rows so the client’s ghost rail can materialize the new card directly from the audit .completed payload — no follow-up refresh needed.
idempotency_keystringNoIdempotency key echoed back for client correlation
Last updated on