Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer token for authentication, obtained after signing up and generating an API key.

Body

multipart/form-data
data
string
required

A JSON string defining the training configuration.

Supported Systems:

  • ["preprocessing"] - Applies skrub preprocessing,
  • ["text"] - Adds text embeddings for text columns.

Default: ["preprocessing", "text"].

Supported Config Parameters:

  • n_estimators (int, 1-10) - Number of ensemble estimators,
  • softmax_temperature (float) - Temperature for softmax scaling,
  • average_before_softmax (bool) - Average before softmax,
  • ignore_pretraining_limits (bool) - Ignore pretraining limits,
  • random_state (int) - Random seed for reproducibility.
dataset_file
file
required

Option 1: CSV file containing both features (X_train) and labels (y_train). Use this when you have all data in a single file.

features_file
file

Option 2:: CSV file containing only feature columns (X_train). Must be used together with labels_file.

labels_file
file

Option 2: CSV file containing only the target/label column (y_train). Must be used together with features_file.

Response

Model fitted successfully — returns a model ID for later prediction calls.

model_id
string<uuid>
required

Unique identifier for the fitted model (used for prediction calls).

task
enum<string>
required

Specifies the type of task to perform — either classification or regression.

Available options:
classification,
regression