<!--
{
  "availability" : [
    "iOS: 17.2.0 -",
    "iPadOS: 17.2.0 -",
    "macCatalyst: -",
    "macOS: 14.2.0 -",
    "tvOS: 17.2.0 -",
    "visionOS: -",
    "watchOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/SearchCriteria",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents14SearchCriteriaP"
  },
  "title" : "SearchCriteria"
}
-->

# SearchCriteria

An interface for defining the criteria to use when searching your app’s content.

```
protocol SearchCriteria : _IntentValue, Hashable, Sendable
```

## Overview

The system uses this protocol to define the search criteria it supports. Use only the system-defined types
that adopt this protocol, and don’t adopt this protocol in your own types.

## Topics

### Associated Types

[`associatedtype SearchScopes = Void`](/documentation/AppIntents/SearchCriteria/SearchScopes)

## Relationships

### Conforming Types

[`StringSearchCriteria`](/documentation/AppIntents/StringSearchCriteria)

[`EntityCollectionSearchCriteria`](/documentation/AppIntents/EntityCollectionSearchCriteria)

### Inherits From

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)