Skip to main content
POST

Authorizations

Authorization
string
header
required

User-principal OAuth 2.0 Bearer authentication. Send a user-scoped Auth0 access token (audience = the app API audience) as Authorization: Bearer <jwt>. The request resolves to the user's identity and is authorized by their Role on the {companyId} in the path — the same role-based permissions the web app enforces. This is the path the MCP connector uses to act on a user's behalf; endpoints that accept it list both BearerAuth and ApiKeyAuth.

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json

Request to seed FMV1 configuration from code-defined starter content. The server materializes the starter content in-memory and runs it through the import pipeline.

There are two mutually-exclusive ways to choose what gets seeded:

  • starterSheet — a single named variant (the pre-#3428 contract). The server resolves it to a base + exposure-scheme (+ rater) selection AND appends every default feature module, so the output is a complete, importable out-of-box config.

  • modules — an EXPLICIT starter-module selection (checkbox granularity). The list is authoritative for every axis and feature: the server unions it with the always-on base (core + default) but appends NO default feature modules.

Supplying both starterSheet and modules is a 400 (InvalidModuleSelection). Supplying neither seeds the product default (single-exposure-list: single exposure-list modeling with the default rater).

starterSheet
enum<string>

A single named starter variant to seed. Mutually exclusive with modules. If both starterSheet and modules are omitted, the product default variant (single-exposure-list) is used. Discover the valid names and their descriptions via GET /configuration/seed/options (options). An unknown name fails with a 400 (UnknownStarterSheet) listing the available variants.

Available options:
default-rater,
single-exposure-list,
standalone-primary-insured
modules
string[]

An EXPLICIT starter-module selection (checkbox granularity, #3428) — the module ids to seed. Mutually exclusive with starterSheet. The server unions the list with the always-on base (core + default) and appends no default feature modules, so the caller names its own exposure scheme, rater, and policy-number flavor. Discover the valid ids (and their axis group) via GET /configuration/seed/options (modules). An unknown id fails with a 400 (UnknownStarterModule) listing the valid ids; a colliding pick-one axis selection (e.g. two raters, or two exposure schemes) fails with a 400 (InvalidModuleSelection).

Example:
replace
boolean
default:false

Overwrite an existing configuration (#3428). Seeding a company whose config is already non-empty is refused with a 409 (ConfigAlreadyExists) UNLESS this is true; a never-configured company seeds without it. This guards config-only customization; the downstream breaking-change gate still independently protects companies that hold entity data.

Response

Seed completed successfully

Result of importing FMV1 configuration

success
boolean
required

Whether the import completed successfully

message
string

Human-readable status message