# Get a synonym rule **GET /_synonyms/{set_id}/{rule_id}** Get a synonym rule from a synonym set. ## Required authorization * Cluster privileges: `manage_search_synonyms` ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters ### Path parameters - **set_id** (string) The ID of the synonym set to retrieve the synonym rule from. - **rule_id** (string) The ID of the synonym rule to retrieve. ## Responses ### 200 #### Body: application/json (object) - **id** (string) The identifier for the synonym rule. If you do not specify a synonym rule ID when you create a rule, an identifier is created automatically by Elasticsearch. - **synonyms** (string) The synonyms that conform the synonym rule in Solr format. [Powered by Bump.sh](https://bump.sh)