Skip to main content
POST
Create a draft rater rebuild

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Headers

Idempotency-Key
string
required

Client-chosen key for safe retries: 1-128 letters, digits, -, _, . or :. Use a new random UUID for each intended operation and the same key when retrying it.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9\-_.:]+$

Body

application/json
projectId
string<uuid>
required

A circular project: a platform Project with projectType iso_circular.

productId
string<uuid>
required

The product the rater serves: a Catalog product record id, available in the state on the product’s page.

state
enum<string>
required

A state, by its two-letter USPS code in capitals, such as VA.

Available options:
AL,
AK,
AZ,
AR,
CA,
CO,
CT,
DE,
DC,
FL,
GA,
HI,
ID,
IL,
IN,
IA,
KS,
KY,
LA,
ME,
MD,
MA,
MI,
MN,
MS,
MO,
MT,
NE,
NV,
NH,
NJ,
NM,
NY,
NC,
ND,
OH,
OK,
OR,
PA,
RI,
SC,
SD,
TN,
TX,
UT,
VT,
VA,
WA,
WV,
WI,
WY
workedCases
string<uuid>

Optional: the carrier’s worked cases, a Vault file of policies with the premiums the rater in force (V0) gives them. Each version rates them and notes the cases whose premium changed. You must be able to read the file (input_unreadable). Leave it out to rebuild without them.

Response

The draft rebuild.

id
string<uuid>
required

The rater rebuild’s id, a UUID.

project
object
required
productId
string
required

The product the rater serves: a Catalog product record id. A rebuild created before rating setups may hold another product id.

Required string length: 1 - 200
state
enum<string>
required

A state, by its two-letter USPS code in capitals, such as VA.

Available options:
AL,
AK,
AZ,
AR,
CA,
CO,
CT,
DE,
DC,
FL,
GA,
HI,
ID,
IL,
IN,
IA,
KS,
KY,
LA,
ME,
MD,
MA,
MI,
MN,
MS,
MO,
MT,
NE,
NV,
NH,
NJ,
NM,
NY,
NC,
ND,
OH,
OK,
OR,
PA,
RI,
SC,
SD,
TN,
TX,
UT,
VT,
VA,
WA,
WV,
WI,
WY
createdAt
string<date-time>
required
createdBy
object
required
inputs
object
required
missingToBuild
enum<string>[]
required

On a draft, the required inputs that the product’s rating setup does not give now. Empty once built.

Available options:
ratingSetup,
rater,
guideline,
book
nextActions
enum<string>[]
required
Available options:
set_inputs,
build,
create_version,
finish,
stop
status
enum<string>
required
Available options:
draft
revision
unknown
required
builtAt
unknown
required
builtBy
unknown
required
circulars
null[]
required
run
unknown
required
steps
null[]
required
iso
unknown
required
changes
null[]
required
currentVersion
unknown
required
versions
null[]
required
notices
null[]
required
closedAt
unknown
required