# Get a query ruleset **GET /_query_rules/{ruleset_id}** Get details about a query ruleset. ## Required authorization * Cluster privileges: `manage_search_query_rules` ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters ### Path parameters - **ruleset_id** (string) The unique identifier of the query ruleset ## Responses ### 200 #### Body: application/json (object) - **ruleset_id** (string) A unique identifier for the ruleset. - **rules** (array[object]) Rules associated with the query ruleset. [Powered by Bump.sh](https://bump.sh)