Get the results from a predict job. Note: 'assetsAcl:READ' capability is required, unless you specify a valid X-Job-Token
in the request header. The X-Job-Token
is provided in the response header of the initial call to /context/entitymatching/predict
Success
The response for a failed request.
const { status, items } = await client.entityMatching.predictResult(12345678);
{- "status": "Queued",
- "createdTime": 1730204346000,
- "startTime": 1730204346000,
- "statusTime": 1730204346000,
- "errorMessage": null,
- "jobId": 123,
- "items": [
- {
- "source": {
- "field": "value",
- "ignoredfield": {
- "key": "value"
}
}, - "matches": [
- {
- "score": 0.98,
- "target": {
- "field": "value",
- "ignoredfield": {
- "key": "value"
}
}
}
]
}
]
}