# BRAINIAC Contract Risk Summary

> BRAINIAC Contract Risk Summary is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.06/call, status unknown (last checked 2026-11-17).

Analyzes a contract document or text and returns a list of flagged risk clauses, extracted provisions, and potential legal risks using pattern-based extraction.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/contract-operations/risk-summary?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-contract-risk-summary-d9d10db2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sZ23D1wuJxTVQlfU_DyeQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-contract-risk-summary-d9d10db2 -d '<json body>'
```

Example prompt: Scan this contract PDF for risks — flag any auto-renewal language, indemnity clauses, and termination-for-convenience provisions and give me a summary of each finding with the exact excerpt.

## When to prefer this

Use this endpoint when you need fast, structured extraction of risk signals from a contract document without requiring a legal review workflow or account setup. It is well-suited for agents that need to flag known risk patterns (auto-renewal, indemnity caps, termination for convenience) in uploaded PDFs or raw contract text on a pay-per-call basis. Prefer it over general-purpose LLM contract review when you want consistent, coded findings with verbatim excerpts and no hallucinated clauses.

## Known failure modes

- File too large — base64-encoded content exceeds 12MB limit
- Invalid media type — only application/pdf and text/plain are accepted
- No input provided — at least one of file, text, or clauses must be present
- Malformed base64 — file content fails to decode
- Contract text too long — text field exceeds 200,000 character limit
- Too many clauses — clauses array exceeds 80 items
- Payment failure — USDC payment on Base not confirmed via x402

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with a status field ('risks_observed' or similar), an array of findings where each finding includes a risk code (e.g. 'renewal_language_risk'), a kind ('potential_risk' or 'extracted'), a plain-English detail description, the verbatim excerpt from the contract, the clause heading, and a clause ID. Also includes a timestamp, a legalAdvice boolean (always false), a list of scope limitations, and a complianceDetermined boolean (always false).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "application/pdf",
      "text/plain"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "text": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "clauses": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "heading",
     "text"
    ],
    "properties": {
     "text": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 1
     },
     "number": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "heading": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "risks_observed",
  "findings": [
   {
    "code": "renewal_language_risk",
    "kind": "potential_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.",
    "heading": "Term",
    "clauseId": "C-001"
   },
   {
    "code": "indemnity_with_cap",
    "kind": "extracted",
    "detail": "Indemnity wording and a cap or limit appear in the same clause.",
    "excerpt": "The Seller shall indemnify the Buyer against third-party claims.",
    "heading": "Liability",
    "clauseId": "C-002"
   },
   "…"
  ],
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "legalAdvice": false,
  "limitations": [
   "This output is not legal advice.",
   "A checklist match is not a determination of legal compliance.",
   "…"
  ],
  "complianceDetermined": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-contract-risk-summary-d9d10db2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
