docs: def parse_query_filter():
      """Parse the Run query filter from the URL as a dictionary."""
      query_string = request.args.get("queryFilter")
      if query_string is None:
          return {"type": "and", "filters": []}
      query = json.loads(query_string)
      assert type(query) == dict
      assert type(query.get("type")) == str
      return query