Improve docs and interface for api/types/filters Upstream-commit: c8400bf24dcea8e160d6b614d996b0f659c7d8d9 Component: engine