settings
Examples
Parameters
enum<string>
When specified, restricts matches to rules with a specific anchoring type.
When omitted, all anchoring types may match.
One of:
containsendsWithisstartsWith
string
Restricts matches to contextual rules with a specific context (exact match).
boolean
When specified, restricts matches to rules with a specific
enabled status.
When absent (default), all rules are retrieved, regardless of their enabled status.integer
default:20
Maximum number of hits in a page. Minimum is 1, maximum is 1000.
integer
default:0
Requested page (zero-based).
string
Search query
object
A mapping of request options to send along with the request.
Response
object[]
Rule objects matched by the search query (see
rule).
Highlighting is provided through the standard mechanism (_highlightResult attribute inside every returned object)integer
Total number of rules matching the query.
integer
Total number of pages.
integer
Returned page number (zero-based).
Response as JSON
This section shows the JSON response returned by the API. Each API client wraps this response in language-specific objects, so the structure may vary. To view the response, use thegetLogs method.
Don’t rely on the order of properties—JSON objects don’t preserve key order.
JSON