# uip df

> Commands for managing entity schemas, records, queries, and file attachments in Data Fabric using the `uip df` tool.

`uip df` is the Data Fabric tool: it manages the entity store that backs many UiPath products. The tool lets you browse and mutate entity schemas, work with records (single or batch), query with filters and sorting, import records from CSV, and manage file attachments on record fields. Install it with `uip tools install df`, or invoke `uip df …` and let auto-install run. See [Tools (plugins)](./concepts-tools.md) for the install model and [uip tools](./uip-tools.md) for the command that manages tool installation. `df` is the command prefix; the underlying package is `@uipath/data-fabric-tool`.

## Resources

Each resource has its own reference page. The verb set on each page matches the commands registered by `uip df` — run `uip df --help` to confirm the full surface on your installation.

| Resource | Purpose |
|---|---|
| [entities](./uip-df-entities.md) | Browse and mutate entity schemas. |
| [records](./uip-df-records.md) | List, get, insert, update, query, import, and delete the rows held by an entity. |
| [files](./uip-df-files.md) | Upload, download, and delete blob attachments on record file fields. |
| [choice-sets](./uip-df-choice-sets.md) | Manage the enumerated value lists (and their individual values) referenced by `CHOICE_SET_SINGLE`/`CHOICE_SET_MULTIPLE` entity fields. |
| [connectors](./uip-df-connectors.md) | List the Integration Service connectors the tenant supports as federated Data Fabric sources. |

## Synopsis

```
uip df <resource> <verb> [options]
```

Always `uip df`, never `uip data-fabric`. `df` is the tool's command prefix (see the `commandPrefix` column in `uip tools list`).

## Common flags

A small set of flags recurs across most resources. They behave the same way wherever they appear:

| Flag | Used by | Purpose |
|---|---|---|
| `--folder-key <key>` | nearly every verb (all `entities`, `records`, `files`, `choice-sets`, and `choice-set-values` verbs) | Folder key (GUID) that scopes the operation to a folder-level resource instead of a tenant-level one. Optional unless the target genuinely lives in a folder. |
| `--local` | every `entities` verb; `choice-sets list`, `list-values`, `create`, and `delete`; `choice-set-values create` and `delete` | Act on the entities and choice sets authored in a solution on disk instead of the tenant. No login is required. Refer to [Local entities](./uip-df-entities.md#local-entities---local) and [Local choice sets](./uip-df-choice-sets.md#local-choice-sets---local). |
| `-f, --file <path>` / `--body <json>` | mutating verbs (`create`, `update`, `insert`, `query`, `import`, `upload`) | Mutually exclusive ways to supply a JSON body or file path. |
| `-l, --limit <number>` | `records list`, `records query`, `choice-sets list-values` | Page size; defaults to `50`. |
| `--cursor <cursor>` | `records list`, `records query`, `choice-sets list-values` | Pagination cursor value from a previous response's `nextCursor.value` (mutually exclusive with `-o, --offset`). |

Verb-specific flags are documented on each resource page.

## Global options and exit codes

All `uip df` verbs honor the four [global options](./global-options.md) (`--output`, `--output-filter`, `--log-level`, `--log-file`). Exit codes follow the shared [contract](./exit-codes.md); batch verbs return non-zero when *any* item fails while still emitting the full success/failure breakdown.

## See also

- [Concepts: how UiPath CLI is organized](./concepts-cli-architecture.md) — where tools fit in the host + tool model.
- [Sessions](./concepts-sessions.md) — how tenant context is resolved.
- [Configuration](./configuration.md) — environment variables and config files that affect every tool.
- [`uip vss`](./uip-vss.md) — consumes Data Fabric schemas to generate TypeScript types.
- [`uip login`](./uip-login.md) — session used for all Data Fabric calls.
