Please update REST documentation to include ?alt=sse param

The REST documentation does not include a full sample for streaming.

It simply says that all you need to do is call streamGenerateContent

However if you do so without ?alt=sse in the parameters results are not streamed.

Additionally it does not properly specify the format of the response which is

data: {...} 
6 Likes

Thanks for the feedback, @Sam_Saffron! Will pass this along to the team.

3 Likes