Method: projects.locations.endpoints.streamRawPredict

Perform a streaming online prediction with an arbitrary HTTP payload.

HTTP request

POST https://{service-endpoint}/v1/{endpoint}:streamRawPredict

Where {service-endpoint} is one of the supported service endpoints.

Path parameters



Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

Request body

The request body contains data with the following structure:

JSON representation
  "httpBody": {
    object (HttpBody)

object (HttpBody)

The prediction input. Supports HTTP headers and arbitrary data payload.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the endpoint resource:

  • aiplatform.endpoints.predict

For more information, see the IAM documentation.