run_prediction
Run an ad-hoc prediction against a trained model version. Returns the prediction result or a prediction ID for async processing.
Instructions
Run a single ad-hoc prediction against a trained model version.
project_id and target_feature are auto-resolved from the model version
record when omitted. By default waits and returns the result inline (label +
probability). Set wait_for_result=false to return immediately with prediction_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_version_id | Yes | ||
| input_data | Yes | ||
| project_id | No | ||
| target_feature | No | ||
| wait_for_result | No | ||
| max_wait_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||