FoodGuard Mobile API
    FoodGuard Mobile API
    • Authentication
      • User Login
        POST
      • User Logout
        POST
    • Lookups
      • Get All Branches
        GET
      • Get All Suppliers
        GET
    • Inspection
      • Lookup Batch by QR/Barcode
        GET
      • Initialize Inspection Batch
        POST
      • Upload Sample Image for AI Analysis
        POST
      • Finalize Batch Inspection
        POST
    • History
      • Get Inspection History
        GET
    • Inspector Dashboard
      • Get Home Screen Stats
        GET
    • Schemas
      • User
      • Branch
      • Supplier
      • BatchInitResponse
      • AISampleResult
      • ErrorResponse
      • ValidationErrorResponse

    AISampleResult

    {
        "sample_id": 5541,
        "image_url": "https://storage.foodguard.dev/samples/img_123.jpg",
        "ai_analysis": {
            "score": 85,
            "status": "passed",
            "confidence": 98.5,
            "detected_issues": [
                "Minor discoloration",
                "Size variance"
            ]
        }
    }
    Built with