Get settings
curl --request GET \
--url https://api.priorlabs.ai/tabpfn/get_settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.priorlabs.ai/tabpfn/get_settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.priorlabs.ai/tabpfn/get_settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.priorlabs.ai/tabpfn/get_settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.priorlabs.ai/tabpfn/get_settings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.priorlabs.ai/tabpfn/get_settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.priorlabs.ai/tabpfn/get_settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"default_model_version": "v2",
"max_model_limit": {
"train_set_max_rows": 123,
"train_set_max_cells": 123,
"train_set_max_upload_cells": 123,
"test_set_max_rows": 123,
"max_classes": 123,
"max_cols": 123,
"predict_row_pairs_budget": 123,
"test_set_max_rows_w_full_regression_output": 123,
"test_set_max_cells": 123,
"kv_train_set_max_rows": 123
},
"model_limits": {},
"dataset_max_size_bytes": 123,
"async_settings": {
"use_above_trainset_size_bytes": 123,
"poll_timeout_secs": 123,
"predict_use_above": {
"train_rows": 123,
"test_rows": 123
},
"thinking_predict_use_above": {
"train_rows": 123,
"test_rows": 123
}
},
"inline_test_set_max_parquet_bytes": 0,
"thinking_default_model_version": "v2",
"thinking_model_limits": {},
"thinking_max_timeout_secs": 123,
"row_weights_model_versions": [
"v2"
]
}{
"message": "<string>",
"error_code": "GENERAL_ERROR",
"trace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}REST API
Get settings
Get the default model version, per-version training and prediction limits, and the models that support row weights.
GET
/
tabpfn
/
get_settings
Get settings
curl --request GET \
--url https://api.priorlabs.ai/tabpfn/get_settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.priorlabs.ai/tabpfn/get_settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.priorlabs.ai/tabpfn/get_settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.priorlabs.ai/tabpfn/get_settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.priorlabs.ai/tabpfn/get_settings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.priorlabs.ai/tabpfn/get_settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.priorlabs.ai/tabpfn/get_settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"default_model_version": "v2",
"max_model_limit": {
"train_set_max_rows": 123,
"train_set_max_cells": 123,
"train_set_max_upload_cells": 123,
"test_set_max_rows": 123,
"max_classes": 123,
"max_cols": 123,
"predict_row_pairs_budget": 123,
"test_set_max_rows_w_full_regression_output": 123,
"test_set_max_cells": 123,
"kv_train_set_max_rows": 123
},
"model_limits": {},
"dataset_max_size_bytes": 123,
"async_settings": {
"use_above_trainset_size_bytes": 123,
"poll_timeout_secs": 123,
"predict_use_above": {
"train_rows": 123,
"test_rows": 123
},
"thinking_predict_use_above": {
"train_rows": 123,
"test_rows": 123
}
},
"inline_test_set_max_parquet_bytes": 0,
"thinking_default_model_version": "v2",
"thinking_model_limits": {},
"thinking_max_timeout_secs": 123,
"row_weights_model_versions": [
"v2"
]
}{
"message": "<string>",
"error_code": "GENERAL_ERROR",
"trace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Response
Successful Response
Was this page helpful?