v1
latestOpenAPI 3.0.32026-07-2659199427.5 KBGet predictions
Custom model prediction
The custom model prediction is an embedding use case. If a custom model is trained and deployed using the Lucidworks AI Models API, the DEPLOYMENT_ID in the Models API is the same value as the MODEL_ID you enter in the custom model to return a prediction.
post/ai/prediction/embedding/{MODEL_ID}
Headers
Authorizationstring required
Bearer token used for authentication. Format: Authorization: Bearer ACCESS_TOKEN.
Content-Typestring
Example:application/json
application/json
Request body
Example request
{
"useCaseConfig": {
"dataType": "passage"
},
"modelConfig": {
"lowercaseInput": true
}
}Response
OK