Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore Personalize
Data privacy
Before you start sending data
Integrating with Sitecore Personalize
Stream API
Personalize API Flow execution
REST APIs
  • Sitecore Personalize for developers
  • REST APIs
  • Using a collection resource
  • Searching in a collection

Searching in a collection

You can search for specific resources in a collection resource by using certain query parameters to specify your search criteria. You can perform a search based on generic query parameters. Search supports result pagination and link expansion.

A search consists of specifying one or more query parameters and a corresponding search value on a collection resource URL. The example cURL call returns all someCollection resources where both of the following are true:

  • The someCollection attribute parameter1 is equal to searchValue1 (case insensitive).

  • The someCollection attribute parameter2 is equal to searchValue2 (case insensitive).

Searching in someCollection resources:

RequestResponse
curl -X GET '<baseURL>/v2/someCollection?parameter1=searchValue1&parameter2=searchValue2'

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore