Everything you need to programmatically integrate Erayaha's deterministic document reasoning compiler, contract vulnerability scanner, and Model Context Protocol (MCP) server into your applications.
Erayaha supports the latest OpenAPI 3.1.0 specifications, RFC 9457 structured problem details, standard IETF RateLimit response headers, and the Model Context Protocol (MCP) Streamable HTTP transport standard.
Scans raw contract text against deterministic structural logic graphs to uncover liabilities, circular obligations, indemnification loops, and missing caps.
curl -X POST https://erayaha.ai/api/v1/scan \
-H "Content-Type: application/json" \
-H "Idempotency-Key: c9a4b3d1-4e78-4392-8012-124982348ab1" \
-d '{
"contractText": "This Mutual Non-Disclosure Agreement...",
"documentType": "NDA",
"jurisdiction": "US-Delaware"
}'Evaluates individual contract clauses against standard corporate fallback playbooks and generates tested inline redlines.
Bulk scans an array of contract documents simultaneously in one high-throughput request.
All API responses include standard IETF structured fields allowing automated agents to self-throttle in real time:
Errors return structured JSON with actionable hints so AI agents can self-correct without guessing: