Get a synonym rule Copy page Copy page View as Markdown GET /_synonyms/{set_id}/{rule_id} Api key auth Basic auth Bearer auth Get a synonym rule from a synonym set. Required authorization Cluster privileges: manage_search_synonyms Path Parameters { set_id , rule_id , } set_id string Id required The ID of the synonym set to retrieve the synonym rule from. rule_id string Id required The ID of the synonym rule to retrieve. Response 200 application/json id string Id required 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 required The synonyms that conform the synonym rule in Solr format. Reference