Add support for stream api endpoints