Skip to main content
WEBHOOK
analysisComplete
{
  "runId": "550e8400-e29b-41d4-a716-446655440000",
  "status": "completed",
  "agent": "light",
  "timestamp": "2025-01-19T12:00:00.000Z",
  "sequenceNumber": 7,
  "result": {
    "selectedElements": [
      {
        "item": "Hemoglobin A1c",
        "category": "Laboratory Value",
        "patient_value": "7.2%",
        "matching_reason": "Elevated HbA1c indicates suboptimal glycemic control"
      }
    ],
    "patientResponse": "Your recent lab results show elevated blood sugar levels...",
    "clinicianResponse": "The patient presents with elevated HbA1c (7.2%) indicating...",
    "citations": {
      "patient": {
        "1": {
          "url": "https://pubmed.ncbi.nlm.nih.gov/12345678/",
          "title": "Glycemic Control in Type 2 Diabetes",
          "metadata": {
            "type": "pubmed"
          }
        }
      },
      "clinician": {
        "1": {
          "url": "https://pubmed.ncbi.nlm.nih.gov/87654321/",
          "title": "ADA Standards of Care 2025",
          "metadata": {
            "type": "pubmed"
          }
        }
      }
    }
  }
}

Authorizations

x-api-key
string
header
required

API key provided by Helios Intelligence

Body

application/json
runId
string<uuid>
required

Unique identifier for this analysis run

status
enum<string>
required

Indicates successful completion

Available options:
completed
timestamp
string<date-time>
required

ISO 8601 timestamp when the webhook was sent

sequenceNumber
integer
required

Monotonically increasing number for ordering webhooks

Example:

7

result
object
required
agent
enum<string>

The agent type that processed this request

Available options:
light,
deep

Response

200

Webhook received successfully. Return 200 OK to acknowledge receipt.