Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

An API key is a token that you provide when making API calls. Read more about how to secure your project.

Include the API key to the Authorization header, for instance:

If you use a SDK, ensure you instantiate the client with the API key, for instance with JS SDK:

Path Parameters

uid
string
required

Unique identifier of the search rule.

Response

Dynamic search rule returned.

uid
string
required

Unique identifier of the dynamic search rule.

Example:

"movies"

actions
object[]
required

Actions to apply when the dynamic search rule matches.

description
string | null

Human-readable description of the dynamic search rule.

priority
integer<u-int64> | null

Precedence of the dynamic search rule. Lower numeric values take precedence over higher ones. If omitted, the rule is treated as having the lowest precedence. This precedence is used to resolve conflicts between matching rules:

  • If the same document is selected by multiple rules, the smallest priority number wins
  • If different documents are pinned to the same position, they are ordered by ascending priority
Required range: x >= 0
active
boolean

Whether the dynamic search rule is active.

conditions
object[]

Conditions that must match before the dynamic search rule applies.