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

# Edit Prompt Version Label

> Modify the label of a specific prompt version



## OpenAPI

````yaml post /v1/prompt/version/{promptVersionId}/edit-label
openapi: 3.0.0
info:
  title: helicone-api
  version: 1.0.0
  license:
    name: MIT
  contact: {}
servers:
  - url: https://api.helicone.ai/
  - url: http://localhost:8585/
security: []
paths:
  /v1/prompt/version/{promptVersionId}/edit-label:
    post:
      tags:
        - Prompt
      operationId: EditPromptVersionLabel
      parameters:
        - in: path
          name: promptVersionId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromptEditSubversionLabelParams'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Result__metadata-Record_string.any__.string_
      security:
        - api_key: []
components:
  schemas:
    PromptEditSubversionLabelParams:
      properties:
        label:
          type: string
      required:
        - label
      type: object
      additionalProperties: false
    Result__metadata-Record_string.any__.string_:
      anyOf:
        - $ref: '#/components/schemas/ResultSuccess__metadata-Record_string.any___'
        - $ref: '#/components/schemas/ResultError_string_'
    ResultSuccess__metadata-Record_string.any___:
      properties:
        data:
          properties:
            metadata:
              $ref: '#/components/schemas/Record_string.any_'
          required:
            - metadata
          type: object
        error:
          type: number
          enum:
            - null
          nullable: true
      required:
        - data
        - error
      type: object
      additionalProperties: false
    ResultError_string_:
      properties:
        data:
          type: number
          enum:
            - null
          nullable: true
        error:
          type: string
      required:
        - data
        - error
      type: object
      additionalProperties: false
    Record_string.any_:
      properties: {}
      additionalProperties: {}
      type: object
      description: Construct a type with a set of properties K of type T
  securitySchemes:
    api_key:
      type: apiKey
      name: Authorization
      in: header
      description: 'Bearer token authentication. Format: ''Bearer YOUR_API_KEY'''

````