API Documentation

AutoGlaucoma API

/api/v1/glaucoma/analyze
Analiza una imagen para detectar glaucoma.
{ "image": "base64_encoded_image", "patient_id": "string", "metadata": { "age": "number", "gender": "string" } }

Response
{ "prediction": "boolean", "confidence": "number", "heatmap": "base64_encoded_image" }

/api/v1/glaucoma/results/{patient_id}
Obtiene resultados históricos de un paciente.

Response
{ "results": [ { "date": "string", "prediction": "boolean", "confidence": "number" } ] }

AutoMedical API

/api/v1/medical/analyze
Analiza un informe médico completo.
{ "report": "string", "type": "string", "patient_data": { "id": "string", "history": "string" } }

Response
{ "analysis": { "diagnosis": "string", "confidence": "number", "recommendations": ["string"] } }