Skip to main content

Common Schema

All Annie Insights API endpoints share common request parameters and response patterns.

Standard Request Parameters​

Every image-based endpoint requires these three parameters:

ParameterTypeRequiredDescription
PatientIDstring✅ YesUnique patient identifier from your system
TimeStampstring✅ YesAnalysis session timestamp (e.g., "2026-05-24")
ImageNamestring✅ YesFull URL to the dental image to analyze

Example Request Body​

{
"PatientID": "P-001",
"TimeStamp": "2026-05-24",
"ImageName": "https://your-storage.com/images/patient-photo.jpg"
}
Image URL Requirements
  • Must be a publicly accessible HTTPS URL
  • Supported formats: JPEG, PNG
  • Maximum file size: 20MB
  • Recommended resolution: 1024×768 or higher

Standard Response Fields​

FieldTypeDescription
VersionstringAPI version used for processing
PatientIDstringEchoed from request
TimeStampstringEchoed from request
ImageNamestringProcessed image filename
ResultsobjectEndpoint-specific analysis results
OutputImageUrlstringAnnotated image URL (SAS-protected, 72h expiry)

Optional Parameters​

Some endpoints accept additional optional parameters:

ParameterTypeAvailable OnDescription
StandardNamestringFrontal SegmentationEvaluation standard (default: "ICON")
PlotLabelsbooleanFrontal SegmentationShow classification labels on output
DrawContoursbooleanSegmentation endpointsDraw contour outlines on output