{"openapi":"3.1.0","info":{"title":"Contract Operations API","version":"1.0.0","description":"Read supplied contracts for clauses, parties, obligations, dates, and defined terms, compare versions, and check a caller-supplied clause list. This is not legal advice and does not determine legal compliance. Paid with x402 exact USDC on Base. No account is required.","contact":{"email":"support@brainiac.software"},"x-guidance":"BRAINIAC.software is a pay-per-call API for software agents. No account or API key is required.\nPayment uses the x402 protocol with exact USDC on Base (chain id 8453). Each POST operation has a fixed USD price.\nHow to call an operation:\n1. POST a JSON body matching the operation's requestBody schema to the operation path. Include an Idempotency-Key header (64 hex characters, 32 random bytes).\n2. If you have not paid, the server responds 402 with payment requirements in the body. Pay the exact amount to the payTo address on Base.\n3. Retry the identical request with the same Idempotency-Key and add a payment-signature header containing the x402 payment payload. On success (200) the operation result is returned.\n4. Reuse the same Idempotency-Key only for retries of the same operation and request body; it will not be charged twice.\nAll outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Verify time-sensitive or official data with the cited source before acting."},"servers":[{"url":"https://www.brainiac.software"}],"paths":{"/api/v1/contract-operations/clause-extract":{"post":{"operationId":"extract_contract_clauses","summary":"Extract contract clauses","description":"Extract numbered clauses, parties, defined terms, and a governing-law sentence from supplied contract text or a text-based PDF. Each item keeps a source excerpt. Missing headings stay unavailable.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false},"example":{"text":"This Agreement is entered into between Northwind Paper Ltd (\"Buyer\") and Harbor Ink LLC (\"Seller\").\nThis Agreement is governed by the laws of England and Wales.\n\n1. Definitions\n\"Goods\" means the paper products listed in Schedule 1.\n\"Effective Date\" means 1 November 2026.\n\n2. Supply\nThe Seller shall deliver the Goods within 14 days after each order.\n"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"clauses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"string"},"heading":{"type":"string"},"excerpt":{"type":"string"},"page":{"type":"null"},"source":{"type":"string"},"kind":{"type":"string"}},"additionalProperties":true}},"parties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"definedTerms":{"type":"array","items":{"type":"object","properties":{"term":{"type":"string"},"definition":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"references":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"name":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"clauses":[{"id":"C-001","number":"1","heading":"Definitions","excerpt":"1. Definitions \"Goods\" means the paper products listed in Schedule 1. \"Effective Date\" means 1 November 2026.","page":null,"source":"document","kind":"extracted"},{"id":"C-002","number":"2","heading":"Supply","excerpt":"2. Supply The Seller shall deliver the Goods within 14 days after each order.","page":null,"source":"document","kind":"extracted"}],"parties":[{"name":"Northwind Paper Ltd","role":"Buyer","excerpt":"between Northwind Paper Ltd (\"Buyer\") and Harbor Ink LLC (\"Seller\")","clauseId":"preamble","heading":"Preamble"},{"name":"Harbor Ink LLC","role":"Seller","excerpt":"between Northwind Paper Ltd (\"Buyer\") and Harbor Ink LLC (\"Seller\")","clauseId":"preamble","heading":"Preamble"}],"definedTerms":[{"term":"Goods","definition":"the paper products listed in Schedule 1","excerpt":"\"Goods\" means the paper products listed in Schedule 1","clauseId":"C-001","heading":"Definitions"},{"term":"Effective Date","definition":"1 November 2026","excerpt":"\"Effective Date\" means 1 November 2026","clauseId":"C-001","heading":"Definitions"}],"references":[{"kind":"governing_law","name":"England and Wales","excerpt":"governed by the laws of England and Wales","clauseId":"preamble","heading":"Preamble"}],"findings":[],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","Numbered clauses, article headings, quoted defined terms, party roles, and a governing-law sentence are read as printed."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.06"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/obligation-extract":{"post":{"operationId":"extract_contract_obligations","summary":"Extract contract obligations","description":"Extract sentences that use shall, must, agrees to, is required to, or undertakes to, and name the party stated before the verb. Sentences that only say may are not turned into obligations.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false},"example":{"text":"This Agreement is entered into between Northwind Paper Ltd (\"Buyer\") and Harbor Ink LLC (\"Seller\").\n\n2. Supply\nThe Seller shall deliver the Goods within 14 days after each order.\n"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"obligations":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"actor":{"type":"string"},"attribution":{"type":"string"},"text":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"obligations":[{"kind":"extracted","actor":"Seller","attribution":"named","text":"The Seller shall deliver the Goods within 14 days after each order.","excerpt":"The Seller shall deliver the Goods within 14 days after each order.","clauseId":"C-001","heading":"Supply"}],"findings":[],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","An obligation is a sentence that uses shall, must, agrees to, is required to, or undertakes to."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.06"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/deadline-extract":{"post":{"operationId":"extract_contract_deadlines","summary":"Extract contract deadlines","description":"Extract stated periods, notice periods, and unambiguous calendar dates. Slash dates are not guessed, and a deadline is not created when the text gives no number or date.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false},"example":{"text":"2. Supply\nThe Seller shall deliver the Goods within 14 days after each order.\n\n3. Term\nThis Agreement expires on 1 November 2027 unless either party gives 30 days' notice.\n"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"deadlines":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"basis":{"type":"string"},"when":{"type":"string"},"detail":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"deadlines":[{"kind":"extracted","basis":"period","when":"14 days","detail":"The text states a period of 14 days.","excerpt":"Supply The Seller shall deliver the Goods within 14 days after each order.","clauseId":"C-001","heading":"Supply"},{"kind":"extracted","basis":"notice","when":"30 days","detail":"The text states a notice period of 30 days.","excerpt":"Term This Agreement expires on 1 November 2027 unless either party gives 30 days' notice.","clauseId":"C-002","heading":"Term"},{"kind":"extracted","basis":"date","when":"2027-11-01","detail":"The text states expires on 2027-11-01.","excerpt":"This Agreement expires on 1 November 2027 unless either party gives 30 days' notice.","clauseId":"C-002","heading":"Term"}],"findings":[],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","Dates are taken from ISO dates and named calendar dates. A period is taken only when the text states a number and a unit."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/renewal-risk-check":{"post":{"operationId":"check_renewal_wording","summary":"Check renewal wording","description":"Read renewal and expiration wording that is actually printed. A notice date is calculated only from a stated expiration date and a stated notice period. Renewal wording is flagged as a potential risk, not a legal conclusion.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}},"asOf":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"withinDays":{"type":"integer","minimum":0,"maximum":3650}},"additionalProperties":false},"example":{"text":"3. Term\nThis Agreement expires on 1 November 2027. It will automatically renew for successive one-year terms unless either party gives 30 days' notice.\n"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"status":{"type":"string"},"expirationDate":{"type":"string"},"noticeDays":{"type":"number"},"noticeDeadline":{"type":"string"},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"detail":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"status":"observed","expirationDate":"2027-11-01","noticeDays":30,"noticeDeadline":"2027-10-02","findings":[{"kind":"extracted","code":"renewal_language","detail":"Automatic or successive renewal language was extracted from the text.","excerpt":"It will automatically renew for successive one-year terms unless either party gives 30 days' notice.","clauseId":"C-001","heading":"Term"},{"kind":"potential_risk","code":"renewal_language_risk","detail":"Renewal language is present. This flags the wording only and does not determine whether the contract renews.","excerpt":"It will automatically renew for successive one-year terms unless either party gives 30 days' notice.","clauseId":"C-001","heading":"Term"},{"kind":"extracted","code":"notice_deadline","detail":"The notice date 2027-10-02 is the stated expiration date minus the stated 30-day notice period.","excerpt":"This Agreement expires on 1 November 2027.","clauseId":"","heading":""}],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","A notice date is calculated only from an expiration date and a notice period stated in the renewal wording."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/missing-clause-check":{"post":{"operationId":"check_for_missing_provisions","summary":"Check for missing provisions","description":"Compare the contract with a checklist or with provisions supplied for a named standard. A standard name alone does not create required clauses, and similar wording is not inferred.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}},"checklist":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":200},"phrases":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["id","name"],"additionalProperties":false}},"standard":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"provisions":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":200},"phrases":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["id","name"],"additionalProperties":false}}},"required":["name"],"additionalProperties":false}},"additionalProperties":false},"example":{"text":"4. Liability\nThe Seller shall indemnify the Buyer against third-party claims.\n","checklist":[{"id":"liability","name":"Liability"},{"id":"confidentiality","name":"Confidentiality"}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"status":{"type":"string"},"standardName":{"type":"string"},"provisions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"matchedPhrase":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true}},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"detail":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"status":"missing","standardName":"","provisions":[{"id":"liability","name":"Liability","status":"present","matchedPhrase":"Liability","excerpt":"4. Liability The Seller shall indemnify the Buyer against third-party claims.","clauseId":"C-001","heading":"Liability","detail":"The supplied phrase \"Liability\" appears in the text."},{"id":"confidentiality","name":"Confidentiality","status":"missing","matchedPhrase":"","excerpt":"","clauseId":"","heading":"","detail":"The supplied provision \"Confidentiality\" was not found. Similar wording was not inferred."}],"findings":[{"kind":"extracted","code":"provision_missing","detail":"The supplied provision \"Confidentiality\" was not found. Similar wording was not inferred.","excerpt":"","clauseId":"","heading":""}],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","A provision is present only when the supplied name or phrase appears in the text. Similar clauses are not inferred."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/version-diff":{"post":{"operationId":"compare_contract_versions","summary":"Compare contract versions","description":"Compare two supplied contract versions by clause number or heading. Whitespace and letter case alone are not reported. Clauses are not matched by meaning.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"base":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false},"revised":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false}},"required":["base","revised"],"additionalProperties":false},"example":{"base":{"text":"1. Supply\nThe Seller shall deliver the Goods within 14 days after each order.\n\n2. Term\nThis Agreement expires on 1 November 2027.\n"},"revised":{"text":"1. Supply\nThe Seller shall deliver the Goods within 30 days after each order.\n\n2. Term\nThis Agreement expires on 1 November 2028.\n\n3. Confidentiality\nThe Seller shall keep the Buyer's information confidential.\n"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"status":{"type":"string"},"changes":{"type":"array","items":{"type":"object","properties":{"change":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"},"baseExcerpt":{"type":"string"},"revisedExcerpt":{"type":"string"}},"additionalProperties":true}},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"status":"changes_found","changes":[{"change":"changed","clauseId":"C-001","heading":"Supply","baseExcerpt":"1. Supply The Seller shall deliver the Goods within 14 days after each order.","revisedExcerpt":"1. Supply The Seller shall deliver the Goods within 30 days after each order."},{"change":"changed","clauseId":"C-002","heading":"Term","baseExcerpt":"2. Term This Agreement expires on 1 November 2027.","revisedExcerpt":"2. Term This Agreement expires on 1 November 2028."},{"change":"added","clauseId":"C-003","heading":"Confidentiality","baseExcerpt":"","revisedExcerpt":"3. Confidentiality The Seller shall keep the Buyer's information confidential."}],"findings":[],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","Clauses match on their number, or on the heading when no number is present. Whitespace and letter case alone are not treated as changes."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.08"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/change-impact":{"post":{"operationId":"describe_contract_changes","summary":"Describe contract changes","description":"Label meaningful version changes as a date, a stated period, an obligation verb, or an added or removed clause. The legal effect of a change is not decided.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"base":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false},"revised":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false}},"required":["base","revised"],"additionalProperties":false},"example":{"base":{"text":"1. Supply\nThe Seller shall deliver the Goods within 14 days after each order.\n\n2. Term\nThis Agreement expires on 1 November 2027.\n"},"revised":{"text":"1. Supply\nThe Seller shall deliver the Goods within 30 days after each order.\n\n2. Term\nThis Agreement expires on 1 November 2028.\n\n3. Confidentiality\nThe Seller shall keep the Buyer's information confidential.\n"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"status":{"type":"string"},"impacts":{"type":"array","items":{"type":"object","properties":{"change":{"type":"string"},"aspect":{"type":"string"},"kind":{"type":"string"},"heading":{"type":"string"},"detail":{"type":"string"},"baseExcerpt":{"type":"string"},"revisedExcerpt":{"type":"string"}},"additionalProperties":true}},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"status":"changes_found","impacts":[{"change":"changed","aspect":"period","kind":"extracted","heading":"Supply","detail":"A stated period in the clause changed.","baseExcerpt":"1. Supply The Seller shall deliver the Goods within 14 days after each order.","revisedExcerpt":"1. Supply The Seller shall deliver the Goods within 30 days after each order."},{"change":"changed","aspect":"date","kind":"extracted","heading":"Term","detail":"A calendar date in the clause changed.","baseExcerpt":"2. Term This Agreement expires on 1 November 2027.","revisedExcerpt":"2. Term This Agreement expires on 1 November 2028."},{"change":"added","aspect":"clause_added","kind":"potential_risk","heading":"Confidentiality","detail":"A clause is present only in the revised text. The legal effect was not determined.","baseExcerpt":"","revisedExcerpt":"3. Confidentiality The Seller shall keep the Buyer's information confidential."}],"findings":[],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","An impact names the kind of text that changed. It does not decide whether the change is favorable or enforceable."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.06"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/party-obligations":{"post":{"operationId":"group_obligations_by_party","summary":"Group obligations by party","description":"Group extracted obligations under the party named before shall, must, or agrees to. An obligation that names no party stays unassigned.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false},"example":{"text":"This Agreement is entered into between Northwind Paper Ltd (\"Buyer\") and Harbor Ink LLC (\"Seller\").\n\n2. Supply\nThe Seller shall deliver the Goods within 14 days after each order.\n"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"parties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"},"obligations":{"type":"array","items":{}}},"additionalProperties":true}},"unassigned":{"type":"array","items":{}},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"parties":[{"name":"Northwind Paper Ltd","role":"Buyer","obligations":[]},{"name":"Harbor Ink LLC","role":"Seller","obligations":[{"text":"The Seller shall deliver the Goods within 14 days after each order.","excerpt":"The Seller shall deliver the Goods within 14 days after each order.","clauseId":"C-001","heading":"Supply"}]}],"unassigned":[],"findings":[],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/risk-summary":{"post":{"operationId":"summarize_contract_wording_risks","summary":"Summarize contract wording risks","description":"Flag renewal, indemnity, unlimited-liability, and termination-for-convenience wording that is present in the text. These are potential risks, not a legal opinion or a risk score.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false},"example":{"text":"3. Term\nIt will automatically renew for successive one-year terms unless either party gives 30 days' notice.\n\n4. Liability\nThe Seller shall indemnify the Buyer against third-party claims. Liability is capped at the fees paid in the prior 12 months.\n\n5. Termination\nEither party may terminate this Agreement for convenience by giving 60 days' notice.\n"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"status":{"type":"string"},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"detail":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"status":"risks_observed","findings":[{"kind":"potential_risk","code":"renewal_language_risk","detail":"Renewal language is present. This flags the wording only and does not determine whether the contract renews.","excerpt":"It will automatically renew for successive one-year terms unless either party gives 30 days' notice.","clauseId":"C-001","heading":"Term"},{"kind":"extracted","code":"indemnity_with_cap","detail":"Indemnity wording and a cap or limit appear in the same clause.","excerpt":"The Seller shall indemnify the Buyer against third-party claims.","clauseId":"C-002","heading":"Liability"},{"kind":"potential_risk","code":"termination_for_convenience","detail":"Termination for convenience wording was extracted. The consequence was not determined.","excerpt":"Either party may terminate this Agreement for convenience by giving 60 days' notice.","clauseId":"C-003","heading":"Termination"}],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","Potential risks are labels on wording that was actually extracted. They are not a legal risk opinion or a risk score."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.06"},"protocols":[{"x402":{}}]}}},"/api/v1/contract-operations/compliance-review":{"post":{"operationId":"review_a_contract_against_supplied_checks","summary":"Review a contract against supplied checks","description":"Combine clause, obligation, deadline, renewal, checklist, party, and risk checks. checklist_satisfied means the supplied phrases were found. It is not a legal compliance determination.","tags":["contract-operations"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}},"checklist":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":200},"phrases":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["id","name"],"additionalProperties":false}},"standard":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"provisions":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"name":{"type":"string","minLength":1,"maxLength":200},"phrases":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["id","name"],"additionalProperties":false}}},"required":["name"],"additionalProperties":false},"asOf":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"withinDays":{"type":"integer","minimum":0,"maximum":3650},"revised":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["application/pdf","text/plain"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"clauses":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"number":{"type":"string","minLength":1,"maxLength":40},"heading":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["heading","text"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"example":{"text":"This Agreement is entered into between Northwind Paper Ltd (\"Buyer\") and Harbor Ink LLC (\"Seller\").\n\n4. Liability\nThe Seller shall indemnify the Buyer against third-party claims.\n","checklist":[{"id":"liability","name":"Liability"},{"id":"confidentiality","name":"Confidentiality"}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"legalAdvice":{"type":"boolean"},"complianceDetermined":{"type":"boolean"},"assessment":{"type":"string"},"summary":{"type":"string"},"sections":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}},"counts":{"type":"object","properties":{"extracted":{"type":"number"},"potential_risk":{"type":"number"},"unavailable":{"type":"number"}},"additionalProperties":true},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"detail":{"type":"string"},"excerpt":{"type":"string"},"clauseId":{"type":"string"},"heading":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-02T19:00:00.000Z","legalAdvice":false,"complianceDetermined":false,"assessment":"checklist_unmet","summary":"One or more supplied checklist items were not found in the text. This review is not legal advice and does not determine legal compliance.","sections":[{"name":"clauses","status":"extracted"},{"name":"obligations","status":"extracted"},{"name":"deadlines","status":"unavailable"},{"name":"renewal","status":"unavailable"},{"name":"missing","status":"missing"},{"name":"parties","status":"extracted"},{"name":"risks","status":"risks_observed"},{"name":"changes","status":"unavailable"}],"counts":{"extracted":1,"potential_risk":1,"unavailable":2},"findings":[{"kind":"unavailable","code":"revised_version_unavailable","detail":"A revised version was not supplied, so versions were not compared.","excerpt":"","clauseId":"","heading":""},{"kind":"unavailable","code":"renewal_unavailable","detail":"No renewal or expiration wording was extracted.","excerpt":"","clauseId":"","heading":""},{"kind":"extracted","code":"provision_missing","detail":"The supplied provision \"Confidentiality\" was not found. Similar wording was not inferred.","excerpt":"","clauseId":"","heading":""},{"kind":"potential_risk","code":"indemnity_without_cap","detail":"Indemnity wording was extracted and that clause does not state a cap. No cap was inferred.","excerpt":"The Seller shall indemnify the Buyer against third-party claims.","clauseId":"C-001","heading":"Liability"}],"limitations":["This output is not legal advice.","A checklist match is not a determination of legal compliance.","Clauses, deadlines, obligations, and missing provisions are not invented.","Missing provisions are reported only against a checklist or standard provisions supplied in the request.","The review repeats the individual checks. checklist_satisfied means the supplied phrases were found, not that the contract is legally compliant."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.12"},"protocols":[{"x402":{}}]}}}},"components":{"schemas":{"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}}}}}}}}