How to write url to display all posts of certain type and taxonomy with given term_id

I have found the answer, it is <a href="/warning_type/red_warnings">Red warnings</a> , where red_warnings is the slug for term_id=41 (from table terms)