---
title: "Create Tag"
method: POST
path: "/api/v1/tag"
tags: ["Tag"]
---

# Create Tag

`POST /api/v1/tag`

Create a new tag

## Request body

- ITagCreate
  - `name` string, nullable, required
  - `description` string, nullable, required
  - `color_code` string, nullable, required
  - `attributes` object, nullable

## Response `201`

Successful Response

- IPostResponseBaseITagRead
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` ITagRead
    - `name` string, nullable, required
    - `description` string, nullable, required
    - `color_code` string, nullable, required
    - `attributes` object, nullable
    - `id` string, uuid, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/insighto/apis/ragify.md) · [All operations](https://skmtc.dev/insighto/apis/ragify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/insighto/ragify/revisions/cdca56191be9/schema)
