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

# Set a preset version's tags

> Replace one version's ``tags`` annotation. Tags are labels on an immutable
version body, so this edits only the annotation and never rebinds the live tool
(no reload / no fan-out). 404 for an unknown preset or version; the create
route's 503 on a store-less deploy.



## OpenAPI

````yaml /openapi.json put /api/presets/{name}/versions/{version}/tags
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 0.1.1
servers: []
security: []
paths:
  /api/presets/{name}/versions/{version}/tags:
    put:
      tags:
        - presets
      summary: Set a preset version's tags
      description: >-
        Replace one version's ``tags`` annotation. Tags are labels on an
        immutable

        version body, so this edits only the annotation and never rebinds the
        live tool

        (no reload / no fan-out). 404 for an unknown preset or version; the
        create

        route's 503 on a store-less deploy.
      operationId: put_api_presets_name_versions_version_tags
      parameters:
        - in: path
          name: name
          required: true
          schema:
            type: string
        - in: path
          name: version
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PresetVersionTags'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                required:
                  - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Malformed request.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Resource not found.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            A dependency this route needs is temporarily unavailable; retry
            shortly.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PresetVersionTags:
      description: |-
        Replace a preset version's ``tags`` annotation (labels on an immutable
        version body — no rebind).
      properties:
        tags:
          items:
            type: string
          title: Tags
          type: array
      required:
        - tags
      title: PresetVersionTags
      type: object
    Error:
      properties:
        error:
          type: string
      required:
        - error
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````