[egulu CLI reference](../index.md) / [egulu vectordb-instances](index.md)

# egulu vectordb-instances create-collection

POST /v1/projects/{project}/locations/{location}/vectorDbInstances/{instance}/collections

```sh
egulu vectordb-instances create-collection <NAME> [options]
```

## API operation

[VectorDbInstanceCollections_create](../../api/vectordb/VectorDbInstanceCollections_create.md): `POST /v1/projects/{project}/locations/{location}/vectorDbInstances/{instance}/collections` (vectordb module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the collectionId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--collection-name` | value | no | collectionName |
| `--dimension` | value | no | dimension |
| `--distance` | value | no | distance |
| `--instance` | value | yes | instance |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
