Get prediction
get_predictionFetch prediction status and results by prediction ID, including class labels, probabilities, and batch download links for completed jobs.
Instructions
Fetch prediction status and result by prediction id.
Ad-hoc completed:
outputhas the predicted label or value per row. For a classifier,probabilitieshas each row'sprobability_<class>values, in the same order.Batch completed:
download_urlandcurl_commandare included automatically.curl_commandis the HTTP GET that downloads the scored CSV through EasyDeploy's tokenized gateway; it carries a short-lived download token, never the API key.Classifiers, ad-hoc and batch, also return
classLabels: the label each<class>inprobability_<class>stands for, such as{"0": "B", "1": "M"}. Regressors, models that give no probabilities, and predictions completed before these fields existed return neither field.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prediction_id": "<prediction_id>"
},
"name": "get_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prediction_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||