Download OpenAPI specification:
API that returns a machine-learning prediction score indicating the likelihood that a postal item contains dangerous or prohibited goods.
Returns a prediction score between 0 and 1 for a given mail item. A higher value indicates higher likelihood of the item being dangerous.
| SecurityToken required | string API security token |
| ItemId required | string Unique identifier of the mail item |
{- "SecurityToken": "A0B216AD-2AE6-4D56-BEAE-6AF3436C5E95",
- "ItemId": "SK621932176LV"
}{- "Message": "Prediction fetched",
- "Prediction": 0.999266
}