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

# Update tag key

> Update the description for a tag key.



## OpenAPI

````yaml /api-reference/openapi.json patch /v1/tag-keys/{key}
openapi: 3.1.0
info:
  title: Skyvern API
  description: API for Skyvern
  version: 1.0.0
servers:
  - url: https://api.skyvern.com
    x-fern-server-name: Cloud
  - url: https://api-staging.skyvern.com
    x-fern-server-name: Staging
  - url: http://localhost:8000
    x-fern-server-name: Local
security: []
paths:
  /v1/tag-keys/{key}:
    patch:
      tags:
        - Tags
      summary: Update tag key
      description: Update the description for a tag key.
      operationId: update_tag_key_v1_tag_keys__key__patch
      parameters:
        - name: key
          in: path
          required: true
          schema:
            type: string
            description: Tag key to update
            title: Key
          description: Tag key to update
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Skyvern API key for authentication. API key can be found at
              https://app.skyvern.com/settings.
            title: X-Api-Key
          description: >-
            Skyvern API key for authentication. API key can be found at
            https://app.skyvern.com/settings.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagKeyUpdate'
      responses:
        '200':
          description: Successfully updated tag key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagKey'
        '404':
          description: Tag key not found
        '422':
          description: Description too long
components:
  schemas:
    TagKeyUpdate:
      properties:
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Free-form description (max 500 chars). Pass null to clear.
      type: object
      title: TagKeyUpdate
      description: Body for ``PATCH /v1/tag-keys/{key}``.
    TagKey:
      properties:
        key:
          type: string
          title: Key
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        workflow_count:
          type: integer
          title: Workflow Count
          default: 0
      type: object
      required:
        - key
      title: TagKey
      description: Tag-key registry entry.

````