---
title: searchTerms
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchforphotosintent/searchterms
---

# searchTerms

An array of terms to look for in the photos.

## Declaration

```swift
var searchTerms: [String]? { get }
```

## Discussion

Discussion When this property contains one or more NSString objects, your search should return only photos whose tags, keywords, descriptions, or other attributes contain one of the specified strings. Use the value of the searchTermsOperator property to determine whether the search should be for all, some, or none of the specified terms.

## See Also

### Getting the Search Terms

- [searchTermsOperator](intents/insearchforphotosintent/searchtermsoperator.md)
