Skip to main content
POST
Accept proposals of an underwriting submission’s extraction

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. Do not put customer data or credentials in the key.

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

Path Parameters

submissionId
string<uuid>
required

The submission’s id.

extractionId
string<uuid>
required

The extraction’s id.

Body

application/json
paths
(string | object)[]

Each proposal to accept, by its input path, each path once. A path in conflict is {path, value}, naming the value chosen.

Required array length: 1 - 500 elements

A proposal of this extraction, by its input path: state.

Required string length: 1 - 500
facts
object[]

Each fact’s value to use, by fact, row and field, each once. A row without field uses each of its fields that is not in conflict. A field in conflict is named with value, the value chosen.

Required array length: 1 - 500 elements

A fact’s value the extraction read, by fact, row and field. A row without field names each of its fields.

Response

What was accepted and skipped, and what the submission still waits on.

accepted
string[]
required

The paths whose proposal is accepted, with its value kept for the submission.

Minimum string length: 1
skipped
object[]
required

Each path not accepted and why. reason is extensible: underwriter_value (the submission holds that value inside a record it holds), invalid (the proposal does not fit its input; with all, also a value the submission’s log refuses, such as a code outside its input’s pattern), conflict (with all: the path holds several values), dismissed or overridden (already ruled on: reopen it first).

facts
object
required

The same for the facts named.

outstanding
object[]
required

What the submission still waits on after this call, as a read of it answers.