Infer (File Upload)
Upload a file and get results in the response. Best for small files.
Async Infer (File Upload)
Upload a file and poll for results. Best for larger files.
Async Infer (Dataset)
Run inference on an existing dataset. Returns a job ID for polling.
Output Formats
All inference endpoints support three output formats via theoutput_type parameter:
The specific columns returned depend on the model type:
Prediction
For binary classification, multiclass classification, and regression.
Binary classification:
- JSON
- CSV
- JSON
- CSV
- JSON
- CSV
Clustering
- JSON
- CSV
Anomaly Detection
Output depends on theanomaly_format parameter.
anomaly_format=ids_only (default)
- JSON
- CSV
anomaly_format=per_row
- JSON
- CSV
Embeddings
- JSON
- CSV
Search
- JSON
- CSV
Factor Analysis
Output has one row per discovered factor, not per input instance.- JSON
- CSV