# PredictRequest

- [JSON representation](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/prediction/rest/PredictRequest#SCHEMA_REPRESENTATION)

Request message for `PredictionService.Predict`.

| JSON representation |
|---|
| ``` { "endpoint": string, "instances": [ value ], "parameters": value } ``` |

| Fields ||
|---|---|
| `endpoint` | `string` Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` |
| `instances[]` | ``value (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value` format)`` Required. The instances that are the input to the prediction call. A DeployedModel may have an upper limit on the number of instances it supports per request. In case of customer-created Models, the behaviour is as documented by that Model. The schema of any single instance may be specified on the Endpoint's DeployedModels. |
| `parameters` | ``value (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value` format)`` The parameters that govern the prediction. The schema of the parameters may be specified on the Endpoint's DeployedModels. |