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

# Update an existing configuration

> Update an existing configuration's name, provider, parameters, environment, or tags.



## OpenAPI

````yaml https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/openapi.yaml put /v1/configurations/{configId}
openapi: 3.1.0
info:
  title: HoneyHive Data Plane API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.2.1
servers:
  - url: https://api.honeyhive.ai
security:
  - BearerAuth: []
tags:
  - name: Charts
    description: >
      Define and manage saved charts. Charts are visualizations that aggregate
      metrics over time with bucketing, filters, and groupings.
  - name: Configurations
    description: >
      Manage prompt configurations, i.e. model parameters, message templates,
      and response settings that can be versioned and deployed without code
      changes.
  - name: Datapoints
    description: >
      Manage individual records inside datasets, including batch creation and
      mapping to source events.
  - name: Datasets
    description: >
      Curate collections of datapoints used as test sets for evaluations and
      experiments.
  - name: Events
    description: >
      Read and write trace events. Events are the spans that capture every step
      of an AI application's execution.
  - name: Experiments
    description: >
      Run, retrieve, and compare evaluation runs to measure how prompt or
      configuration changes affect agent performance.
  - name: Metric Versions
    description: >
      Snapshot, list, and deploy versions of a metric's definition so changes
      can be reviewed and rolled back without losing history.
  - name: Metrics
    description: >
      Define and run evaluators, i.e. automated quality checks that score traces
      against criteria like accuracy, safety, or correctness.
  - name: Queues
    description: >
      Manage annotation queues for human review of traces, turning expert
      feedback into labeled datasets.
  - name: Sessions
    description: >
      Group related trace events into sessions, the top-level container for a
      multi-step or multi-service AI interaction.
paths:
  /v1/configurations/{configId}:
    put:
      tags:
        - Configurations
      summary: Update an existing configuration
      description: >-
        Update an existing configuration's name, provider, parameters,
        environment, or tags.
      operationId: updateConfiguration
      parameters:
        - name: configId
          in: path
          required: true
          schema:
            type: string
          description: Configuration ID like `6638187d505c6812e4043f24`
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConfigurationRequest'
      responses:
        '200':
          description: Configuration updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConfigurationResponse'
      deprecated: true
components:
  schemas:
    UpdateConfigurationRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 200
        type:
          type: string
          enum:
            - LLM
            - pipeline
          default: LLM
        provider:
          type: string
          minLength: 1
        parameters:
          $ref: '#/components/schemas/ConfigurationParameters'
        env:
          type: array
          items:
            type: string
            enum:
              - dev
              - staging
              - prod
        tags:
          type: array
          items:
            type: string
        user_properties:
          type:
            - object
            - 'null'
          additionalProperties: {}
      required:
        - name
      additionalProperties: false
      description: Request body for PUT /configurations
    UpdateConfigurationResponse:
      type: object
      properties:
        acknowledged:
          type: boolean
        modifiedCount:
          type: number
        upsertedId:
          type:
            - string
            - 'null'
        upsertedCount:
          type: number
        matchedCount:
          type: number
      required:
        - acknowledged
        - modifiedCount
        - upsertedId
        - upsertedCount
        - matchedCount
      description: Response for PUT /configurations
    ConfigurationParameters:
      type: object
      properties:
        call_type:
          type: string
          enum:
            - chat
            - completion
        model:
          type: string
          minLength: 1
        hyperparameters:
          type: object
          additionalProperties: {}
        responseFormat:
          $ref: '#/components/schemas/ResponseFormat'
        selectedFunctions:
          type: array
          items:
            $ref: '#/components/schemas/SelectedFunction'
        functionCallParams:
          type: string
          enum:
            - none
            - auto
            - force
        forceFunction:
          type: object
          additionalProperties: {}
        template:
          anyOf:
            - type: array
              items:
                $ref: '#/components/schemas/TemplateItem'
            - type: string
      required:
        - call_type
        - model
    ResponseFormat:
      type: object
      properties:
        type:
          type: string
          enum:
            - text
            - json_object
      required:
        - type
    SelectedFunction:
      type: object
      properties:
        id:
          type: string
          minLength: 1
        name:
          type: string
          minLength: 1
        description:
          type: string
        parameters:
          type: object
          additionalProperties: {}
      required:
        - id
        - name
    TemplateItem:
      type: object
      properties:
        role:
          type: string
        content:
          type: string
      required:
        - role
        - content
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````