API. Filter relations

Could it be because the field is text, not numberic??