GET /predict-api/predict/classification/{objectId}
As of Version | product version 2021 Autumn | component version 0.3 |
---|---|
Request Method | GET |
Response Format | JSON |
Description | Retrieves a classification prediction for a single object identified by its The object type IDs will be returned as defined in the inference schema along with their probability in percentage (level of confidence) in the The response JSON further contains the |
Request Header | Content-Type: application/json X-ID-TENANT-NAME: tenant_name |
Request Example | /predict-api/predict/classification/da20c2fb-8071-45e9-b4bf-2af376cdf9b7 |
Result Example | { "predictions": [{ "properties": { "appImpulse:receiptsot|appImpulse:receiptType|Rechnung" : { "probability": 98.45 }, "appImpulse:receiptsot|appImpulse:receiptType|Order": { "probability": 12.77 }, "appImpulse:hrsot|appImpulse:hrType|Bewerbung": { "probability": 1.38 }, "Class4": { "probability": 0.99 }, "Class5": { "probability": 0.02 } }, "system:objectId": "da20c2fb-8071-45e9-b4bf-2af376cdf9b6", "predictionId": 165 }] } |