v1
latestOpenAPI 3.1.02026-07-2673250.3 KBTraining
Fit (TabPFN JSON API)
Recommended: Use tabpfn-client (TabPFNClassifier / TabPFNRegressor). It calls these routes for you.
JSON body after you upload train files via POST /tabpfn/prepare_train_set_upload and PUT the returned signed URLs. Returns fitted_train_set_id. Long fits may stream JSON with leading keepalive whitespace; see the TabPFN-3 changelog.
Key fields: train_set_upload_id (UUID), task (classification | regression), tabpfn_systems, optional tabpfn_config, thinking_effort (medium | high or omit), thinking_timeout_s, thinking_effort_metric, force_refit.
post/tabpfn/fit
Request body
Response
Fitted train set id (JSON; may be streamed with leading whitespace on long fits).