v1

latestOpenAPI 3.0.32026-07-2659199427.5 KB
Query Rewrite Management

List query rewrites

Note that sorting applies to the rule's staging content only. Filtering applies OR logic, so it matches if either the staging or live content matches the filter. Use textSearchRelevance sort to sort by search relevance (cannot be combined with other sort parameters).

get/query-rewrites

Query parameters

searchQuerystring

Search query for text-based search.

typesstring[]

Types of query rewrites to filter by (OR logic).

publishedboolean

Filter by published status.

myRewritesboolean

Filter to show only rewrites created by the authenticated user.

createdBystring

Filter by the username of the creator.

createdStartstring date-time

Filter by creation date start (ISO 8601 date-time).

createdEndstring date-time

Filter by creation date end (ISO 8601 date-time).

contentType'RULE' | 'QUERY_REWRITE'

Filter by content type.

pageinteger

Page number for pagination (zero-indexed).

sizeinteger

Number of items per page.

sortstring[]

Sort order in the format property,direction (e.g., createdDate,desc). Can specify multiple sort parameters.

fieldsstring[]

Optional additional fields to include in the response. Keep in mind that additional fields can slow the call and increase the response size.

Response

OK