---
title: InsightEvaluation
framework: trustinsights
role: symbol
role_heading: Class
path: trustinsights/insightevaluation
---

# InsightEvaluation

The insight result that an evaluation request returns.

## Declaration

```swift
final class InsightEvaluation<each InsightResult> where repeat each InsightResult : TrustInsight
```

## Discussion

Discussion This is the object that requestEvaluation(context:)method returns. It includes the insight result, metadata about the ID and server timestamps you can use to track and match requests, as well as a signed payload which contains additional information about the evaluation. There are two ways to access the information in the signedPayload. The most secure approach is to send the signedPayload to a server that’s making the access decision where the your service can validate the signature and read the results directly. The alternative, when making and on device decision, is to read from the insight property and incorporate that summary result into decision logic within your app. However your decide to process the result, your app needs to call reportConsumption(_:insightsUsed:) to indicate how the app made use of the insights.

## Topics

### Evaluation properties

- [additionalInfo](trustinsights/insightevaluation/additionalinfo.md)
- [generationTimestamp](trustinsights/insightevaluation/generationtimestamp.md)
- [insight](trustinsights/insightevaluation/insight.md)
- [requestID](trustinsights/insightevaluation/requestid.md)
- [serverTimestamp](trustinsights/insightevaluation/servertimestamp.md)
- [signedPayload](trustinsights/insightevaluation/signedpayload.md)

### Providing feedback on insights

- [reportConsumption(_:insightIDsUsed:)](trustinsights/insightevaluation/reportconsumption(_:insightidsused:).md)
- [reportConsumption(_:insightsUsed:)](trustinsights/insightevaluation/reportconsumption(_:insightsused:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Requesting an evaluation

- [InsightEvaluator](trustinsights/insightevaluator.md)
- [requestEvaluation(context:)](trustinsights/insightevaluator/requestevaluation(context:).md)
- [TrustInsight](trustinsights/trustinsight.md)
