The configuration to override the default prediction settings (optional)
uploadsobject[]
historyobject[]
The history messages to be prepended (optional)
Responses
application/json
cURL
JavaScript
Python
HTTP
curl -L \
--request POST \
--url '/prediction/{id}' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{"overrideConfig":{},"uploads":[{"type":"file","name":"image.png","data":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAABjElEQVRIS+2Vv0oDQRDG","mime":"image/png"}],"history":[{"content":"Hello, how can I help you?","role":"apiMessage"}]}'