Certain APIs for retrieving information from streams require you to be subscribed to that stream. If a node is subscribed to a stream it indexes that streams contents in real time, allowing these APIs to work.
In any event the solution is simply to use the subscribe command to subscribe to the stream.