# PredictResponse

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

Response message for `PredictionService.Predict`.

| JSON representation |
|---|
| ``` { "predictions": [ value ], "deployedModelId": string, "model": string, "modelVersionId": string, "modelDisplayName": string, "metadata": value } ``` |

| Fields ||
|---|---|
| `predictions[]` | ``value (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value` format)`` The predictions that are the output of the predictions call. The schema of any single prediction may be specified on the Endpoint's DeployedModels. |
| `deployedModelId` | `string` ID of the Endpoint's DeployedModel that served this prediction. |
| `model` | `string` Output only. The resource name of the Model which is deployed as the DeployedModel that this prediction hits. |
| `modelVersionId` | `string` Output only. The version ID of the Model which is deployed as the DeployedModel that this prediction hits. |
| `modelDisplayName` | `string` Output only. The display name of the Model which is deployed as the DeployedModel that this prediction hits. |
| `metadata` | ``value (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value` format)`` Output only. Request-level metadata returned by the model. The metadata type will be dependent upon the model implementation. |