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

# Create issue tag

> Create a project-scoped issue tag. Names are normalized; duplicate normalized names return the existing tag with 200.



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json post /issues/tags
openapi: 3.1.0
info:
  title: Lemma Platform API
  description: Lemma Platform HTTP API for AI observability and workspace operations.
  version: 0.1.0
servers:
  - url: https://api.uselemma.ai
    description: Lemma production API
security:
  - bearerAuth: []
paths:
  /issues/tags:
    post:
      tags:
        - Issues
      summary: Create issue tag
      description: >-
        Create a project-scoped issue tag. Names are normalized; duplicate
        normalized names return the existing tag with 200.
      operationId: create_issue_tag
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - project_id
                - name
                - color
              properties:
                project_id:
                  type: string
                name:
                  type: string
                color:
                  type: string
              additionalProperties: false
      responses:
        '200':
          description: Created or existing issue tag
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  color:
                    type: string
                required:
                  - id
                  - name
                  - color
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                required:
                  - detail
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````