Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: endpoints.streamRawPredict\n\n**Full name**: projects.locations.endpoints.streamRawPredict\n\nPerform a streaming online prediction with an arbitrary HTTP payload. \n\n### Endpoint\n\npost `https:``/``/aiplatform.googleapis.com``/v1beta1``/{endpoint}:streamRawPredict` \n\n### Path parameters\n\n`endpoint` `string` \nRequired. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `httpBody` `object (`[HttpBody](/vertex-ai/generative-ai/docs/reference/rest/Shared.Types/HttpBody)`)` \nThe prediction input. Supports HTTP headers and arbitrary data payload. \n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method."]]