Menu
Get a search rule
Get a search rule
GET
/dynamic-search-rules/{uid}Use it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Get a search rule action (under Search rules).
- Fill in the fields below, then reference the result from later steps as
{{getASearchRule.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getASearchRule.response.data.<field>}}.
{
"uid": "movies",
"description": "string",
"lastUpdatedAt": "2025-01-01T00:00:00Z",
"precedence": 0,
"active": false,
"conditions": {
"time": null,
"query": null,
"filter": null
},
"actions": {
"pin": [
{
"id": "string",
"position": 0,
"indexUid": "string"
}
],
"scale": [
{
"weight": 0,
"indexUid": "string",
"ids": null,
"filter": null
}
]
}
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?