---
title: SearchPipelineData.Payload
framework: corespotlight
role: symbol
role_heading: Enumeration
path: corespotlight/searchpipelinedata/payload-swift.enum
---

# SearchPipelineData.Payload

The typed variants of data a pipeline stage can produce or consume.

## Declaration

```swift
enum Payload
```

## Overview

Overview @unchecked Sendable because CSSearchableItem is not Sendable. Pipeline stages must not mutate items received from prior stages.

## Topics

### Getting the payload data

- [SearchPipelineData.Payload.items(_:)](corespotlight/searchpipelinedata/payload-swift.enum/items(_:).md)
- [SearchPipelineData.Payload.scoredItems(_:)](corespotlight/searchpipelinedata/payload-swift.enum/scoreditems(_:).md)
- [SearchPipelineData.Payload.groupedItems(_:)](corespotlight/searchpipelinedata/payload-swift.enum/groupeditems(_:).md)
- [SearchPipelineData.Payload.text(_:)](corespotlight/searchpipelinedata/payload-swift.enum/text(_:).md)
- [SearchPipelineData.Payload.count(_:)](corespotlight/searchpipelinedata/payload-swift.enum/count(_:).md)
- [SearchPipelineData.Payload.statistic(name:value:)](corespotlight/searchpipelinedata/payload-swift.enum/statistic(name:value:).md)
- [SearchPipelineData.Payload.table(_:)](corespotlight/searchpipelinedata/payload-swift.enum/table(_:).md)

## Relationships

### Conforms To

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

## See Also

### Getting the pipeline data

- [payload](corespotlight/searchpipelinedata/payload-swift.property.md)
