Skip to main content
POST
Generate document field values from evidence

Authorizations

Authorization
string
header
required

access token

Body

application/json
documents
object[]
required

Evidence or source documents to analyze

Minimum array length: 1
documentType
string
required

Document type identifier matching platform document schema

Required string length: 1 - 100
Example:

"statementOfClaim"

context
string

Optional user-provided context to guide document generation

Maximum string length: 10000
Example:

"Focus on extracting party information and claim amounts"

referenceDocuments
object[]

Previously filed documents to reference for context

Maximum array length: 5

Response

200 - application/json

Generated document fields

documentType
string
Example:

"statementOfClaim"

fields
object

Map of field IDs to extracted values

Example: