Infer (File Upload)
Upload a CSV file and get results back immediately.
model_version_id is specified. Maximum file size is 30 MB.
Set output_type to control the response format (json, csv, or parquet). For anomaly models, set anomaly_format to ids_only (default) or per_row.
See Output Formats for output columns by model type.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
The file to upload. Maximum file size: 30 MB.
Supported inference output formats.
json, csv, parquet "json"
Controls anomaly detection output shape. 'ids_only' returns a list of anomalous row indices. 'per_row' returns id, is_anomaly, and anomaly_score for every input row. Ignored for non-anomaly model types.
ids_only, per_row Response
Successful Response Output format depends on the output_type parameter (json, csv, or parquet). See Output Formats for output columns by model type.
When output_type is json, the response is a JSON object. When output_type is csv or parquet, the response is a file download.
Unique ID for the inference job.
Job status (e.g. succeeded).
Inference latency in milliseconds.
ID of the model used.
ID of the model version used.
Type of the model (e.g. prediction, clustering).
Inference results. Structure varies by model type.
Human-readable descriptions keyed by prediction value (prediction models only).