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

<Info>
  Looking for usage documentation? Check out [Classification](/capabilities/classification) and [Regression](/capabilities/regression).
</Info>

<div className="python-reference-heading">
  <h2 id="user-data-client">
    `UserDataClient`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/tabpfn-client/blob/5f8aee56ad2a788458704c342347e9bc282cebe9/src/tabpfn_client/service_wrapper.py#L252" aria-label="View source for UserDataClient"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

Wrapper of ServiceClient to handle user data.

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

***

<div className="python-reference-heading">
  <h2 id="get-data-summary">
    `UserDataClient.get_data_summary`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/tabpfn-client/blob/5f8aee56ad2a788458704c342347e9bc282cebe9/src/tabpfn_client/service_wrapper.py#L259" aria-label="View source for UserDataClient.get_data_summary"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

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

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

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type">dict</code> | — |
</div>

***

<div className="python-reference-heading">
  <h2 id="download-all-data">
    `UserDataClient.download_all_data`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/tabpfn-client/blob/5f8aee56ad2a788458704c342347e9bc282cebe9/src/tabpfn_client/service_wrapper.py#L264" aria-label="View source for UserDataClient.download_all_data"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

Download all data uploaded by the user.

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

**Parameters**

<div className="python-reference-table">
  | Parameter | Type | Default | Description |
  | - | - | - | - |
  | <span id="download-all-data-save-dir" /><code className="python-reference-parameter">save\_<wbr />dir</code> | <code className="python-reference-type"><a href="https://docs.python.org/3/library/pathlib.html#pathlib.Path">Path</a></code> | `Path(".")` | Directory to save the download into. |
</div>

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type"><a href="https://docs.python.org/3/library/pathlib.html#pathlib.Path">Path</a></code> | The path to the downloaded file. |
</div>

**Raises**

`RuntimeError`

If the download fails.

***

<div className="python-reference-heading">
  <h2 id="delete-dataset">
    `UserDataClient.delete_dataset`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/tabpfn-client/blob/5f8aee56ad2a788458704c342347e9bc282cebe9/src/tabpfn_client/service_wrapper.py#L284" aria-label="View source for UserDataClient.delete_dataset"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

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

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

**Parameters**

<div className="python-reference-table">
  | Parameter | Type | Default | Description |
  | - | - | - | - |
  | <span id="delete-dataset-dataset-uid" /><code className="python-reference-parameter">dataset\_<wbr />uid</code> | <code className="python-reference-type">str</code> | Required | The UID of the dataset to delete. |
</div>

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type">list\[str]</code> | The UIDs of the deleted datasets. |
</div>

***

<div className="python-reference-heading">
  <h2 id="delete-all-datasets">
    `UserDataClient.delete_all_datasets`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/tabpfn-client/blob/5f8aee56ad2a788458704c342347e9bc282cebe9/src/tabpfn_client/service_wrapper.py#L298" aria-label="View source for UserDataClient.delete_all_datasets"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

Delete all datasets uploaded by the user.

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

**Returns**

<div className="python-reference-table python-reference-returns">
  | Type | Description |
  | - | - |
  | <code className="python-reference-type">list\[str]</code> | The UIDs of the deleted datasets. |
</div>

***

<div className="python-reference-heading">
  <h2 id="delete-user-account">
    `UserDataClient.delete_user_account`
  </h2>

  <a className="python-reference-source" href="https://github.com/PriorLabs/tabpfn-client/blob/5f8aee56ad2a788458704c342347e9bc282cebe9/src/tabpfn_client/service_wrapper.py#L309" aria-label="View source for UserDataClient.delete_user_account"><span aria-hidden="true">\</></span> View source <span aria-hidden="true">↗</span></a>
</div>

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.