How to search for a user by the name via API?

Hi Team,

How to search a user on Monday with name via API? I can get all ther users, but i want to search for the user via name.

Here are some examples. The name argument is “fuzzy” so it doesn’t have to be precise - but that also means you may get multiple results if you provide a less precise argument.

{
  users(name: "Cody F.") {
    id
    name
  }
}
-------
{
  "data": {
    "users": [
      {
        "id": 30368725,
        "name": "Cody F."
      }
    ]
  },
  "account_id": 10330910
}
=======
{
  users(name: "Cody") {
    id
    name
  }
}
--------
{
  "data": {
    "users": [
      {
        "id": 30368725,
        "name": "Cody F."
      },
      {
        "id": 33674148,
        "name": "Cody Guest"
      }
    ]
  },
  "account_id": 10330910
}