<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TrustInsights",
  "identifier" : "/documentation/TrustInsights/InsightEvaluator/InsightContext/init(operationCategory:requestedEvaluations:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Trust Insights"
    ],
    "preciseIdentifier" : "s:13TrustInsights16InsightEvaluatorC0C7ContextV17operationCategory20requestedEvaluationsAEy_xxQp_QPGAC09OperationG0O_xxQp_ttcfc"
  },
  "title" : "init(operationCategory:requestedEvaluations:)"
}
-->

# init(operationCategory:requestedEvaluations:)

Creates the context with which to request insights.

```
init(operationCategory: InsightEvaluator.OperationCategory, requestedEvaluations: (repeat each InsightRequest))
```

## Parameters

`operationCategory`

For use in transparency logs and may affect insight results if data suggests it may be appropriate

`requestedEvaluations`

Insights types and versions to request. These should all be of type InsightRequest.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)