---
title: HighlightAnalysisRequest
framework: Media Intelligence
role: symbol
role_heading: Class
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: mediaintelligence/highlightanalysisrequest
---

# HighlightAnalysisRequest

A request that identifies the most engaging segments of a video.

## Declaration

```swift
final class HighlightAnalysisRequest
```

## Mentioned in

Finding the best moments in a video

## Overview

Overview HighlightAnalysisRequest asks VideoAnalyzer to find the highlight segments of a video and score every segment for engagement. Pass it to analyze(_:for:) to receive a HighlightAnalysisRequest.Result value.

## Topics

### Creating a request

- [init()](mediaintelligence/highlightanalysisrequest/init().md)

### Inspecting the result

- [HighlightAnalysisRequest.Result](mediaintelligence/highlightanalysisrequest/result.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [VideoAnalyzer.Request](mediaintelligence/videoanalyzer/request.md)

## See Also

### Video analysis

- [Finding the best moments in a video](mediaintelligence/finding-the-best-moments-in-a-video.md)
- [VideoAnalyzer](mediaintelligence/videoanalyzer.md)
- [MediaIntelligenceVideoAsset](mediaintelligence/mediaintelligencevideoasset.md)
- [KeyFrameAnalysisRequest](mediaintelligence/keyframeanalysisrequest.md)
