> ## Documentation Index
> Fetch the complete documentation index at: https://docs.priorlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> TabPFN-3 and later versions support up to 1,000,000 rows, subject to feature count and checkpoint/API limits.
> For large datasets, use per-estimator subsampling, e.g. inference_config={"SUBSAMPLE_SAMPLES": 100_000}, in TabPFNClassifier or TabPFNRegressor from tabpfn or tabpfn_client.
> Pass raw pandas DataFrames to fit and predict. Categorical strings/categories, raw text, and missing feature values are handled automatically; no manual integer/one-hot encoding, imputation, scaling, or outlier removal is needed.

# UserDataClient

> Inspect, download, and delete uploaded data or the associated user account.

> [!NOTE]
>
> Looking for usage documentation? Check out [Classification](https://docs.priorlabs.ai/capabilities/classification.md) and [Regression](https://docs.priorlabs.ai/capabilities/regression.md).

## `UserDataClient`

[ View source ](https://github.com/PriorLabs/tabpfn-client/blob/ce678cec44dc715f4d835a44990a8f5f115b7acc/src/tabpfn_client/service_wrapper.py#L257)

Wrapper of ServiceClient to handle user data.

Queries or deletes user account data, and queries, downloads or deletes
uploaded data.

***

## `UserDataClient.get_data_summary`

[ View source ](https://github.com/PriorLabs/tabpfn-client/blob/ce678cec44dc715f4d835a44990a8f5f115b7acc/src/tabpfn_client/service_wrapper.py#L264)

Return the summary of the user's data from the server.

```python theme={null}
UserDataClient.get_data_summary() -> dict
```

**Returns**

| Type | Description |
| - | - |
| `dict` | — |

***

## `UserDataClient.download_all_data`

[ View source ](https://github.com/PriorLabs/tabpfn-client/blob/ce678cec44dc715f4d835a44990a8f5f115b7acc/src/tabpfn_client/service_wrapper.py#L269)

Download all data uploaded by the user.

```python theme={null}
UserDataClient.download_all_data(
    save_dir: Path = Path("."),
) -> Path
```

**Parameters**

| Parameter | Type | Default | Description |
| - | - | - | - |
| `save_dir` | `Path` | `Path(".")` | Directory to save the download into. |

**Returns**

| Type | Description |
| - | - |
| `Path` | The path to the downloaded file. |

**Raises**

`RuntimeError`

If the download fails.

***

## `UserDataClient.delete_dataset`

[ View source ](https://github.com/PriorLabs/tabpfn-client/blob/ce678cec44dc715f4d835a44990a8f5f115b7acc/src/tabpfn_client/service_wrapper.py#L289)

Delete a dataset; deleting a train set also deletes its test sets.

```python theme={null}
UserDataClient.delete_dataset(
    dataset_uid: str,
) -> list[str]
```

**Parameters**

| Parameter | Type | Default | Description |
| - | - | - | - |
| `dataset_uid` | `str` | Required | The UID of the dataset to delete. |

**Returns**

| Type | Description |
| - | - |
| `list[str]` | The UIDs of the deleted datasets. |

***

## `UserDataClient.delete_all_datasets`

[ View source ](https://github.com/PriorLabs/tabpfn-client/blob/ce678cec44dc715f4d835a44990a8f5f115b7acc/src/tabpfn_client/service_wrapper.py#L303)

Delete all datasets uploaded by the user.

```python theme={null}
UserDataClient.delete_all_datasets() -> list[str]
```

**Returns**

| Type | Description |
| - | - |
| `list[str]` | The UIDs of the deleted datasets. |

***

## `UserDataClient.delete_user_account`

[ View source ](https://github.com/PriorLabs/tabpfn-client/blob/ce678cec44dc715f4d835a44990a8f5f115b7acc/src/tabpfn_client/service_wrapper.py#L314)

Delete the user account after the user confirms it interactively.

```python theme={null}
UserDataClient.delete_user_account()
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.