# Auto tags

> A section of the Kumkuat API 1.0.0 reference. The rest of it: https://product.tech/docs-kumkuat-ai/api-reference.md (API Reference). Base URL: `https://api.kumkuat.ai`.

Auto-tag definitions, aliases and normalization.

## Get all auto tags

`GET /api/v1/auto-tags`

Get all auto tags visible in the current workspace

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl https://api.kumkuat.ai/api/v1/auto-tags \
  -H 'X-API-Key: <api key>'
```

## Create auto tag

`POST /api/v1/auto-tags`

Create a new auto tag

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl https://api.kumkuat.ai/api/v1/auto-tags \
  -X POST \
  -H 'X-API-Key: <api key>'
```

## List auto-tag alias rules

`GET /api/v1/auto-tags/aliases`

Alias rules that normalise extracted tag values.

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl https://api.kumkuat.ai/api/v1/auto-tags/aliases \
  -H 'X-API-Key: <api key>'
```

## Create an auto-tag alias rule

`POST /api/v1/auto-tags/aliases`

Create an alias rule.

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl https://api.kumkuat.ai/api/v1/auto-tags/aliases \
  -X POST \
  -H 'X-API-Key: <api key>'
```

## Update an auto-tag alias rule

`PUT /api/v1/auto-tags/aliases/{id}`

Update an alias rule.

### Path parameters

- `id` (string, required): Record id.

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl --globoff 'https://api.kumkuat.ai/api/v1/auto-tags/aliases/{id}' \
  -X PUT \
  -H 'X-API-Key: <api key>'
```

## Delete an auto-tag alias rule

`DELETE /api/v1/auto-tags/aliases/{id}`

Delete an alias rule.

### Path parameters

- `id` (string, required): Record id.

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl --globoff 'https://api.kumkuat.ai/api/v1/auto-tags/aliases/{id}' \
  -X DELETE \
  -H 'X-API-Key: <api key>'
```

## Get auto tag by ID

`GET /api/v1/auto-tags/{id}`

Get a specific auto tag visible in the current workspace

### Path parameters

- `id` (string, required): Record id.

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl --globoff 'https://api.kumkuat.ai/api/v1/auto-tags/{id}' \
  -H 'X-API-Key: <api key>'
```

## Update auto tag

`PUT /api/v1/auto-tags/{id}`

Update an existing auto tag

### Path parameters

- `id` (string, required): Record id.

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl --globoff 'https://api.kumkuat.ai/api/v1/auto-tags/{id}' \
  -X PUT \
  -H 'X-API-Key: <api key>'
```

## Delete auto tag

`DELETE /api/v1/auto-tags/{id}`

Delete an auto tag

### Path parameters

- `id` (string, required): Record id.

### Responses

- `422`: Unprocessable Entity

### Example request

```bash
curl --globoff 'https://api.kumkuat.ai/api/v1/auto-tags/{id}' \
  -X DELETE \
  -H 'X-API-Key: <api key>'
```
