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

# Update an execution tag

> Updates the name, color and/or matching mode of an execution tag; rejected if no matching tag exists in the project. Renaming a tag or changing its matching mode recomputes all of the tag's execution links, manual links included.



## OpenAPI

````yaml https://api.mentionlab.io/api/docs-json patch /api/v1/execution-tags/{id}
openapi: 3.0.0
info:
  title: MentionLab Public API v0.3.4-rc
  description: ''
  version: 0.3.4-rc
  contact: {}
servers:
  - url: https://api.mentionlab.io
security: []
tags: []
paths:
  /api/v1/execution-tags/{id}:
    patch:
      tags:
        - Execution Tags
      summary: Update an execution tag
      description: >-
        Updates the name, color and/or matching mode of an execution tag;
        rejected if no matching tag exists in the project. Renaming a tag or
        changing its matching mode recomputes all of the tag's execution links,
        manual links included.
      operationId: ExecutionTagsV1Controller_update_v1
      parameters:
        - name: id
          required: true
          in: path
          description: UUID of the execution tag to update.
          schema:
            type: string
        - name: x-project-id
          in: header
          description: Project ID to specify the project context
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTagJobExecutionNewDto'
      responses:
        '204':
          description: ''
        '400':
          description: >-
            The request failed validation — the body, query or path parameters
            are malformed or out of range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: The request is missing valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: >-
            The authenticated principal lacks the required permission, or access
            to the requested organisation/project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    UpdateTagJobExecutionNewDto:
      type: object
      properties:
        name:
          type: string
          description: Name of the tag
          example: important
        color:
          type: string
          description: Color of the tag in hex format
          example: '#3B82F6'
        matchingMode:
          type: string
          description: >-
            How the tag is matched to responses: `exact` links only responses
            whose text contains the tag name (default), `semantic` also links
            responses by meaning.
          enum:
            - exact
            - semantic
          example: exact
        confirmVectorization:
          type: boolean
          description: >-
            Acknowledges that enabling semantic matching starts indexing of the
            project recent responses. Required only above a size threshold.
          example: true
        groupId:
          type: string
          description: >-
            ID of the execution-taxonomy tag group to file the tag under, or
            null for ungrouped. Group assignment never triggers tag re-matching
            or re-embedding.
          format: uuid
          nullable: true
          example: 018f3a2b-7c4d-7e91-b3f5-2a6c8d0e1f42
    ApiErrorResponse:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code of the error.
          example: 400
        message:
          type: string
          description: >-
            Human-readable description of the error. Validation failures return
            an array of per-field validation errors instead of a single string.
          example: Validation failed
        error:
          type: string
          description: Short name of the HTTP error.
          example: Bad Request
      required:
        - statusCode

````