---
title: "POST /v1/{+endpoint}:directRawPredict"
method: POST
path: "/v1/{+endpoint}:directRawPredict"
tags: ["projects"]
---

# POST /v1/{+endpoint}:directRawPredict

`POST /v1/{+endpoint}:directRawPredict`

Perform an unary online prediction request to a gRPC model server for custom containers.

## Path parameters

- `endpoint` string, required

## Request body

- GoogleCloudAiplatformV1DirectRawPredictRequest — Request message for PredictionService.DirectRawPredict.
  - `methodName` string — Fully qualified name of the API method being invoked to perform predictions. Format: `/namespace.Service/Method/` Example: `/tensorflow.serving.PredictionService/Predict`
  - `input` string, byte — The prediction input.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/aiplatform.md) · [All operations](https://skmtc.net/google/apis/aiplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/aiplatform/versions/b608d71b91f0/schema)
