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.
Authorizations
Bearer token for authentication, obtained after signing up and generating an API key.
Body
Specifies the type of task to perform — either classification or regression.
classification, regression preprocessing, text, thinking medium, high Whether to force the fitting of the train set even if a fittedtrain set and transform states already exist.
Response
Fitted train set id (JSON; may be streamed with leading whitespace on long fits).