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

# bronto exports

> Manage exports

Manage exports

<Tip>
  * **Platform docs:** [docs.bronto.io/api-reference/exports/overview](https://docs.bronto.io/api-reference/exports/overview)
  * **API reference:** [docs.bronto.io/api-reference/exports/retrieve-a-list-of-exports](https://docs.bronto.io/api-reference/exports/retrieve-a-list-of-exports)
</Tip>

```sh theme={"dark"}
bronto exports <command> [flags]
```

#### Subcommands

| Command | Description |
| - | - |
| [`bronto exports create`](/cli/reference/commands/exports#bronto-exports-create) | Create an export |
| [`bronto exports delete`](/cli/reference/commands/exports#bronto-exports-delete) | Delete an export |
| [`bronto exports get`](/cli/reference/commands/exports#bronto-exports-get) | Get an export by ID |
| [`bronto exports list`](/cli/reference/commands/exports#bronto-exports-list) | List exports |

Also accepts the [global flags](/cli/reference/commands/global-flags).

## bronto exports create

Create an export

```sh theme={"dark"}
bronto exports create [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--dataset` | `-d` | string | | dataset name or UUID to export |
| `--download` | | string | | download the completed export to this path (implies --wait) |
| `--field` | `-f` | stringArray | | request body field as key=value; values parse as JSON when possible (repeatable) |
| `--from` | | string | | absolute start time (RFC3339) |
| `--input` | | string | | read the request body from a file, or - for stdin |
| `--since` | | string | | relative lookback, e.g. 1h |
| `--to` | | string | | absolute end time (RFC3339) |
| `--wait` | | bool | | poll the export until it is COMPLETE or FAILED, backing off from 2s to 30s |
| `--wait-timeout` | | duration | `15m0s` | stop waiting after this long, e.g. 5m or 30m (0 means the default) |
| `--where` | | string | | WHERE expression that selects the events to export |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto exports create --dataset <dataset> --since 1h --where "status=500" --wait
bronto exports create --input body.json
bronto exports create --dataset <dataset> --since 1h --download out.json.gz
```

## bronto exports delete

Delete an export

```sh theme={"dark"}
bronto exports delete <id> [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--yes` | | bool | | skip the confirmation prompt |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto exports delete <id> --yes
```

## bronto exports get

Get an export by ID

```sh theme={"dark"}
bronto exports get <id> [flags]
```

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto exports get <id>
```

## bronto exports list

List exports

```sh theme={"dark"}
bronto exports list [flags]
```

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto exports list
```


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