{"service":"Contract Preprocessing & Legal Risk Analysis API","version":"1.0.0","description":"Intelligent contract analysis with legal risk identification","endpoints":{"Preprocessing":{"POST /upload-contract":"Upload PDF and get full analysis","POST /preprocess-text":"Submit text and get full analysis","POST /detect-contract-type":"Quick contract type detection","POST /analyze-clauses":"Clause segmentation and typing","POST /check-missing-fields":"Check for missing critical fields"},"Risk Analysis":{"POST /map-clause-to-risks":"Map single clause to legal risks","POST /analyze-contract-risks":"FULL PIPELINE: Preprocess + identify risks"},"System":{"GET /health":"Health check"}},"documentation":{"swagger":"/docs","redoc":"/redoc"}}