API API Documentation

AutoGlaucoma

AutoGlaucoma API

POST POST /api/v1/glaucoma/analyze

Analiza una imagen para detectar glaucoma.

{
  "image": "base64_encoded_image",
  "patient_id": "string",
  "metadata": {
    "age": "number",
    "gender": "string"
  }
}
Response

Response

{
  "prediction": "boolean",
  "confidence": "number",
  "heatmap": "base64_encoded_image"
}
GET GET /api/v1/glaucoma/results/{patient_id}

Obtiene resultados históricos de un paciente.

Response

Response

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

AutoMedical API

POST POST /api/v1/medical/analyze

Analiza un informe médico completo.

{
  "report": "string",
  "type": "string",
  "patient_data": {
    "id": "string",
    "history": "string"
  }
}
Response

Response

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