Scenario
inference
Scenario
Counterfactual search: find row modifications that reach a desired class.
POST
Scenario
Path Parameters
Body
application/json
POST /v1/models/{model_id}/scenario -- Counterfactual search with constraints.
Inline dataset spec — each materialized row is one query for the counterfactual search. Caps on row count are enforced inside the worker after materialize().
Required range:
x >= 1Required range:
x >= 1Response
Successful Response
Base response returned by async job-submission endpoints.
Keyed on job_id. Model identity (when applicable) is materialized
at completion and returned inside JobResultResponse.result_data.