<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TrustInsights",
  "identifier" : "/documentation/TrustInsights/InsightEvaluator/requestEvaluation(context:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Trust Insights"
    ],
    "preciseIdentifier" : "s:13TrustInsights16InsightEvaluatorC17requestEvaluation7contextAA0cF0Cy0C4TypeQzxQp_QPGAC0C7ContextVy_xxQp_QPG_tYaKRvzAC0C15RequestProtocolRzlF"
  },
  "title" : "requestEvaluation(context:)"
}
-->

# requestEvaluation(context:)

Requests the evaluation of insights.

```
final nonisolated(nonsending) func requestEvaluation<each I>(context: InsightEvaluator.InsightContext<repeat each I>) async throws -> InsightEvaluation<repeat (each I).InsightType> where repeat each I : InsightEvaluator.InsightRequestProtocol
```

## Parameters

`context`

An [`InsightEvaluator.InsightContext`](/documentation/TrustInsights/InsightEvaluator/InsightContext) object that describes details evaluation request.

## Return Value

The [`InsightEvaluation`](/documentation/TrustInsights/InsightEvaluation) that contains the results of the evaluation.

## Discussion> Throws: An ``doc://com.apple.trustinsights/documentation/TrustInsights/InsightEvaluator/EvaluationError`` if the framework fails to produce an evaluation.

## Discussion

> Note: The evaluation process includes processing both on device and on Apple’s servers and can take several seconds to perform an evaluation.

To use the Trust Insights framework in your app, add the `com.apple.developer.trustinsights.base` entitlement to your apps capabilities in Xcode. For more information, see  <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.trustinsights.base>.

---

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)