Skip to main content
POST
Fit (TabPFN JSON API)

Authorizations

Authorization
string
header
required

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

Body

application/json
train_set_upload_id
string<uuid>
required
task
enum<string>
required

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

Available options:
classification,
regression
tabpfn_systems
enum<string>[]
Available options:
preprocessing,
text,
thinking
tabpfn_config
Tabpfn Config · object | null
thinking_effort
enum<string> | null
Available options:
medium,
high
thinking_timeout_s
number | null
thinking_effort_metric
string | null
force_refit
boolean
default:false

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).

fitted_train_set_id
string<uuid>
required