Contract Extraction
Comprehensive contract extraction preset capturing terms, parties, obligations, and signatures for legal document processing.
curl -X POST $XBERG_ENTERPRISE_URL/v1/extract \ -H "Authorization: Bearer $XBERG_API_KEY" \ -F file=@your-contract.pdf \ -F 'preset=contract'

Structured fields extracted by this preset
titlestringrequiredOfficial title or name of the contract as stated in the document.
contract_typestringrequiredPrimary classification of the contract type.
effective_datestringrequiredISO-8601 date when the contract becomes effective.
expiration_datestringISO-8601 date when the contract expires or terminates.
execution_datestringISO-8601 date when the contract was executed or signed.
partiesarray<object>requiredAll parties to the contract with roles and signatory details.
governing_lawobjectJurisdiction and venue for dispute resolution.
termobjectContract duration and renewal parameters.
considerationobjectMonetary or other consideration exchanged.
payment_termsstringNet-30, Net-60, upon invoice, or other payment terms.
key_obligationsarraySummary bullets of each party's primary obligations.
termination_clausesarrayConditions and procedures for contract termination.
confidentiality_clauseobjectConfidentiality and non-disclosure requirements.
non_competeobjectNon-compete and non-solicitation restrictions.
indemnificationobjectIndemnity obligations and coverage.
liability_capobjectLimitation of liability clause parameters.
signaturesarraySignature blocks with dates and authorized signatories.
attachments_referencedarrayExhibits, schedules, or appendices named in the contract.
Configuration
Call Mode
text_plus_visionCitations
EnabledVersion
v1Tags
+System Prompt
You are a legal contract analyst. Extract all metadata, party information, key terms, obligations, and signature details from the contract document. Capture verbatim text for complex clauses such as termination, indemnification, and confidentiality. Preserve all legal entity names, signatory titles, and dates exactly as printed. For dates without explicit year, infer from context. For parties, extract the full legal entity name and signatory information from signature blocks. Flag ambiguous terms but prioritize accuracy over interpretation.