Skip to main content
Version: 1.0.x

Query Content Collections

🚧Documentation Under Construction

We are actively working to improve this documentation. The content you see here may be incomplete, subject to change, or may not fully reflect the current state of the feature. We appreciate your understanding as we continue to enhance our docs.

The Query operation retrieves collections of content items with powerful filtering, sorting, and pagination capabilities that mirror Brightspot's Dari Query API. Unlike Get which fetches a single item by ID, Query enables you to search for content based on field values, sort results by any field, and paginate through large datasets efficiently.

Query uses the same content type configuration as Get (via readonlyEntryClass) and returns the same content model response types. You can build complex predicates to filter by multiple fields, sort by computed or direct field values, implement cursor-based or offset pagination, and leverage Brightspot's full-text search capabilities. This operation is essential for building content listings, search results, filtered collections, and any scenario where you need to retrieve multiple items based on criteria rather than specific IDs.