How can i create smart inventory based on specific host variable?

I am trying to create a smart inventory based on one specific host variable called as name. I am trying to use the following using API but for some reason this doesn’t work:

`
{
“name”: “SMI_CCA_DIR_WindowsServers_10_13”,
“description”: “All Windows servers in dir domain with 10.13.. series”,
“organization”: 2,
“kind”: “smart”,

“host_filter”: “variables__icontains="Windows" and variables__name__icontains="dir.svc.company.com" and variables__icontains="10.13"”,

“variables”: “—\nansible_connection: winrm\nansible_winrm_message_encryption: auto\nansible_winrm_port: 5985\nansible_winrm_transport: ntlm\nno_log: true”,
“insights_credential”: null
}
`

How can i fix the host filter to get the hosts with name variable matching value?