Shows how to run Foundry apps from the app, from REST endpoints, and using the SDK
type
is set to dataRow
and that <data_row_id>
specifies the appropriate value.
type
to either text
or image
(currently the only supported values).
url
to specify a public URL pointing to the assettext
to the text value of the assetbase64
to specify a Base 64-encoded string that defines an imagecreateDataRow
to true
(default) to create a new data row
addToModelRun
to true
(default) to add the data row and prediction to a model run
createDataRow
and addToModelRun
are true, the data row is added to a dataset named App {Name} - inference data
and the prediction is added to a model run named App {Name } - inferences
, where {Name}
is the name of your Foundry app.
The request response confirms the start of the prediction job.
id
field includes the Job ID, which can be used to retrieve results when the job completes.
in_progress
, success
, error
, canceled
, and retried
.