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:
| Format | Content-Type | Description |
|---|---|---|
json | application/json | Column-oriented JSON dict. Each key maps to a list of values. |
csv | text/csv | Standard CSV file with one row per input instance. |
parquet | application/octet-stream | Apache Parquet file. Same columns as CSV. Includes model_id, model_name, model_version_id, and model_type in file-level metadata. |
Prediction
For binary classification, multiclass classification, and regression.| Column | Type | Present | Description |
|---|---|---|---|
id | integer | Always | Row index from the input data. |
prediction | string or float | Always | Predicted label (classification) or value (regression). |
prediction_prob | float | Classification only | Confidence in the predicted class. Ranges from 0.5 to 1.0 for binary; 0 to 1.0 for multiclass. Not present for regression. |
- JSON
- CSV
- JSON
- CSV
- JSON
- CSV
Clustering
| Column | Type | Description |
|---|---|---|
id | integer | Row index from the input data. |
cluster_label | integer | Cluster assignment (0-indexed). |
cluster_description | string | Human-readable description of the cluster. |
- JSON
- CSV
Anomaly Detection
Output depends on theanomaly_format parameter.
anomaly_format=ids_only (default)
| Column | Type | Description |
|---|---|---|
anomalous_ids | list of integers | Row indices flagged as anomalous. |
- JSON
- CSV
anomaly_format=per_row
| Column | Type | Description |
|---|---|---|
id | integer | Row index from the input data. |
is_anomaly | boolean | Whether this row is flagged as anomalous. |
anomaly_score | float | Anomaly score (higher values indicate greater anomalousness). |
- JSON
- CSV
Embeddings
| Column | Type | Description |
|---|---|---|
id | integer | Row index from the input data. |
dim_0 … dim_N | float | Embedding vector dimensions. The number of dimensions depends on the model. |
- JSON
- CSV
Search
| Column | Type | Description |
|---|---|---|
| Input row ID (key) | string | Row index from the inference data. |
| Matched row ID (value) | string | Row index of the closest match in the training dataset. |
- JSON
- CSV
Factor Analysis
Output has one row per discovered factor, not per input instance.| Column | Type | Description |
|---|---|---|
factor_id | integer | Factor index (0-indexed). |
factor_description | string | Human-readable description of what this factor represents. |
captured_variance | float | Proportion of variance in the data explained by this factor. |
- JSON
- CSV