v1
latestOpenAPI 3.1.02026-07-2673250.3 KBTraining
Fit a Model
Deprecated: Prefer the TabPFN client (tabpfn-client) or POST /tabpfn/fit after preparing uploads. This multipart /v1/fit surface is legacy. See the TabPFN-3 changelog.
Uploads and fits a TabPFN model on your training data. The API automatically handles preprocessing and stores a reference to your trained context (not the model weights). You can use either a single dataset file (with the target column included) or separate feature and label files.
post/v1/fit
Response
Model fitted successfully — returns a model ID for later prediction calls.
Example response
{
"model_id": "123e4567-e89b-12d3-a456-426614174000",
"task": "classification"
}