DocumentationAPI Reference

OutRiskAI Documentation

Build, analyze, and manage intelligent contract risk workflows with OutRiskAI.

OutRiskAI is an AI-powered contract risk assessment platform designed for Micro, Small, and Medium Enterprises (MSMEs), legal departments, procurement teams, and consultants. It transforms contract processing into structured, automated legal risk analysis and actionable recommendations.

Welcome to OutRiskAI! Explore our core platform features, developer APIs, architectural blueprints, or jump straight into the Quick Start Guide.

Platform Overview

OutRiskAI operates around a clean separation of legal review concerns:

  • Contracts: The central document assets being ingested, parsed, and analyzed.
  • Risk Analysis Engine: AI models powered by Gemini 2.5-flash that detect legal, financial, operational, and compliance liabilities.
  • Risk AI Assistant: Contextual chat that answers specific clause queries, generates fallback terms, and drafts negotiation talking points.
  • Lawyer Network: Direct bridge to verified legal professionals for human consultation on high-severity contracts.
  • Public REST API: Programmatic endpoints enabling CRMs, procurement tools, and internal scripts to automate contract processing.

Quick Navigation

Core Workflow

  1. Upload or Register Document: Submit contracts via Web UI drag-and-drop, public HTTPS URL, or REST API.
  2. Automated AI Analysis: The background engine parses document clauses and identifies potential liabilities.
  3. Review Risk Dashboard: Inspect severity breakdown, category breakdown (Financial, Legal, Operational, Compliance), and overall risk score.
  4. Chat with Contract: Interact with Risk AI Assistant to clarify terms or draft alternative clause revisions.
  5. Engage Legal Expert: Schedule optional consultation with verified lawyers for critical negotiations.
  6. Automate via API: Retain API keys, poll job statuses, and sync structured risk JSON into your internal CRM or pipeline.

Technology Stack

LayerTechnologies
FrontendNext.js 16 (App Router), React 19, Tailwind CSS, Framer Motion, Fumadocs
Backend APINext.js API Routes, FastAPI (Contracts Microservice)
DatabasePostgreSQL 15+ with pgvector extension & Prisma ORM
AI / MLGemini 2.5-flash, Custom NLP clause extractors
Auth & SecurityNextAuth.js v5 (OAuth 2.0 & Credentials), AES-256 Encryption at Rest

On this page