Query parameters
Complete reference for every query parameter the API accepts
This reference documents every query parameter accepted by the Partners API list endpoints (GET /{version}/{tenant}/{collection}). Single-document endpoints (GET /{version}/{tenant}/{collection}/{id}) accept a subset: depth, locale, fallbackLocale, draft, select, and populate.
Parameters
limit
Type: number
Required: No
Default: 10
Applies to: List endpoints
Maximum number of documents to return per page.
?limit=25page
Type: number
Required: No
Default: 1
Applies to: List endpoints
The page number to retrieve. Pages are 1-indexed.
?page=3sort
Type: string Required: No Default: None (database default order) Applies to: List endpoints
Field name to sort by. Prefix with - for descending order. Separate multiple fields with commas.
?sort=startDate
?sort=-startDate
?sort=-startDate,titlewhere
Type: object (nested bracket notation or JSON) Required: No Default: None Applies to: List endpoints
Filter criteria using field-level operators. Can be expressed in bracket notation or as a JSON string.
Bracket notation:
?where[title][equals]=Swan Lake
?where[startDate][greater_than]=2025-10-01T00:00:00.000ZJSON notation:
?where={"title":{"contains":"opera"}}Logical combinators:
?where[and][0][title][contains]=Swan&where[and][1][venue][equals]=6639a1c2f3b4a5d6e7f70001
?where[or][0][title][contains]=Traviata&where[or][1][title][contains]=Swan LakeSupported operators
| Operator | Description | Value type |
|---|---|---|
equals | Exact match | string, number, boolean |
contains | Substring match | string |
greater_than | Greater than | number, date string (ISO 8601) |
greater_than_equal | Greater than or equal to | number, date string (ISO 8601) |
less_than | Less than | number, date string (ISO 8601) |
less_than_equal | Less than or equal to | number, date string (ISO 8601) |
Logical combinators
| Combinator | Description |
|---|---|
and | All conditions must match |
or | At least one condition must match |
depth
Type: number Required: No Default: Server default (varies) Applies to: List and single-document endpoints
Controls how many levels of relationship fields are populated.
| Value | Behaviour |
|---|---|
0 | Relationship fields return ID strings only |
1 | First level of relationships populated |
2 | Nested relationships within populated documents also expanded |
?depth=0
?depth=2locale
Type: string Required: No Default: Default locale Applies to: List and single-document endpoints
Request content in a specific locale. Pass all to retrieve all locales as an object.
?locale=en
?locale=allfallbackLocale
Type: string Required: No Default: Default fallback locale Applies to: List and single-document endpoints
The locale to fall back to when the requested locale does not have content for a field.
?fallbackLocale=endraft
Type: boolean
Required: No
Default: false
Applies to: List and single-document endpoints
When true, includes draft (unpublished) documents in the results.
?draft=truepagination
Type: boolean
Required: No
Default: true
Applies to: List endpoints
When false, disables pagination and returns all matching documents in a single response. Pagination metadata fields (totalPages, hasPrevPage, etc.) may be omitted.
?pagination=falseselect
Type: object (nested bracket notation) Required: No Default: All fields (or collection-specific defaults; see Events reference) Applies to: List and single-document endpoints
Controls which fields are included in the response. Set field names to true to include them. The id field is always returned.
?select[title]=true&select[slug]=true
?select[tessitura][performanceId]=truepopulate
Type: object (nested bracket notation) Required: No Default: None (or collection-specific defaults; see Events reference) Applies to: List and single-document endpoints
Controls which fields are included when relationship documents are populated. Keyed by collection slug.
?populate[venues][title]=true&populate[venues][city]=true
?populate[people][name]=truewhereOperators
Type: object Required: No Default: None Applies to: List endpoints
Advanced operator configuration for where clauses. Used for complex query patterns beyond the standard operators.
Summary table
| Parameter | Type | Default | List | Single | Description |
|---|---|---|---|---|---|
limit | number | 10 | Yes | No | Documents per page |
page | number | 1 | Yes | No | Page number (1-indexed) |
sort | string | None | Yes | No | Sort field(s), - prefix for descending |
where | object | None | Yes | No | Filter criteria |
depth | number | Varies | Yes | Yes | Relationship population depth |
locale | string | Default | Yes | Yes | Content locale |
fallbackLocale | string | Default | Yes | Yes | Fallback locale |
draft | boolean | false | Yes | Yes | Include drafts |
pagination | boolean | true | Yes | No | Enable/disable pagination |
select | object | All/defaults | Yes | Yes | Field inclusion |
populate | object | None/defaults | Yes | Yes | Relationship field inclusion |
whereOperators | object | None | Yes | No | Advanced operator config |
Related
- How to filter results -- practical filtering examples
- How to sort and paginate -- pagination walkthrough
- How to select fields -- field selection examples
- Collections overview -- all available collections