Skip to main content
GET
Get how a program’s submissions are extracted

Authorizations

Authorization
string
header
required

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

Path Parameters

programId
string
required

The RSL program’s id.

Required string length: 1 - 200

Response

The program’s extraction configuration.

programId
string
required
Minimum string length: 1
model
string | null
required

The model the extraction’s agent runs on; null runs it on the workspace’s default model (defaultModel).

Required string length: 1 - 200
modelAvailable
boolean
required

False where model is no longer one the workspace may use: extractions then run on the default model until it is changed.

extractOnArrival
boolean
required

Whether documents arriving start an extraction by themselves: an upload, a message, and a broker’s email, the first on a thread and every reply after it. Off, extraction starts only when someone starts it.

defaultModel
string | null
required

The workspace’s default model, which a null model runs on.

models
object[]
required

The models the workspace may use, by id and name: the values model takes.

canEdit
boolean
required

Whether the caller may change it: the program’s owner or a workspace admin (a super admin counts as one).

problems
string[]

Where the workspace’s underwriting_extraction setting for this program does not parse: why. Extraction is off for the program, and a change is refused, until a workspace admin fixes the setting.