Add API result_type filter argument
Add documentation for maxID and resultType