🚀 AI Report Generation API

Professional business report generation using AI analysis of text data with image URLs

Developed by AI Report Generation System

📋 Available Endpoints

GET /health - Health check and system status
POST /generate-report-text - Generate business report from free text (synchronous)
POST /submit-task - Submit text for background report generation
GET /task-result/{task_id} - Get background task result
POST /trigger-webhook/{task_id} - Manually trigger webhook notification

📚 Documentation

Interactive API Documentation (Swagger UI)

ReDoc Documentation

🔧 Quick Start

Synchronous Processing:

1. Check system health: GET /health

2. Generate report from text: POST /generate-report-text

Asynchronous Processing:

1. Submit task: POST /submit-task (returns task_id)

2. Check result: GET /task-result/{task_id}

Webhook Notifications:

1. Submit task with callback_url: POST /submit-task

2. Receive automatic notification when task completes

3. Enhanced error logging with stack traces and details

4. Or manually trigger: POST /trigger-webhook/{task_id}