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

# Create Dataset

> Creates a new dataset in a Google BigQuery project (idempotent if exists_ok=true)

Creates a new dataset in a Google BigQuery project (idempotent if exists\_ok=true)

|                       |                           |
| --------------------- | ------------------------- |
| **App**               | BigQuery                  |
| **Operation ID**      | `bigquery_create_dataset` |
| **Type**              | Action                    |
| **Connection**        | `bigquery` (required)     |
| **Credits per run**   | 1                         |
| **Agent / MCP tool**  | Yes                       |
| **Requires approval** | Yes (write operation)     |

## Inputs

| Field         | Type                 | Required | Default | Description                                                                                |
| ------------- | -------------------- | -------- | ------- | ------------------------------------------------------------------------------------------ |
| `project`     | string or SelectItem | Yes      | -       | Select the Google BigQuery project, ask the user for it if not provided                    |
| `dataset_id`  | string               | Yes      | -       | Dataset ID (alphanumeric or underscore). Must not already exist unless exists\_ok is true. |
| `location`    | string               | No       | -       | Location for the dataset (e.g. US, EU). If omitted BigQuery default is used.               |
| `description` | string               | No       | -       | Optional description for the dataset.                                                      |
| `exists_ok`   | boolean              | No       | `False` | If true, the operation will succeed even if the dataset already exists.                    |

### SelectItem

| Field   | Type   | Required | Default | Description                                                                                          |
| ------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `value` | string | Yes      | -       | The value of the selectable item.                                                                    |
| `label` | string | Yes      | -       | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `Dict`

Returns created dataset details.

**Fields**: `dataset_id`, `full_dataset_id`, `project_id`, `location`, `reference_path`
