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

# Edit Evaluation Pipeline Column

Update an existing column on an evaluation pipeline blueprint. Use this to change a column's configuration, rename it, or move it without recreating the whole pipeline.

## Behavior Notes

* Dataset columns are protected and cannot be edited.
* Only blueprint pipeline columns can be edited; columns on finished batch runs cannot.
* Column names must remain unique within the pipeline.
* Editing a column re-queues cells in that column and any columns to its right.

## Related

* [Create Evaluation Pipeline](/reference/create-reports)
* [Delete Evaluation Pipeline Column](/reference/delete-report-column)
* [Node & Column Types](/features/evaluations/column-types)


## OpenAPI

````yaml PATCH /report-columns/{report_column_id}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security:
  - ApiKeyAuth: []
paths:
  /report-columns/{report_column_id}:
    patch:
      tags:
        - reports
      summary: Edit Evaluation Pipeline Column
      operationId: editReportColumn
      parameters:
        - name: report_column_id
          in: path
          required: true
          schema:
            type: integer
          description: ID of the report column to edit.
      requestBody:
        required: true
        description: Column update payload.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditReportColumnRequest'
            examples:
              codeColumn:
                summary: Update a code execution column
                value:
                  report_id: 456
                  column_type: CODE_EXECUTION
                  name: Strict JSON check
                  configuration:
                    code: |-
                      import json
                      try:
                          json.loads(response)
                          return True
                      except Exception:
                          return False
                    language: PYTHON
      responses:
        '200':
          description: Column updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EditReportColumnResponse'
              examples:
                updated:
                  summary: Column updated
                  value:
                    success: true
                    report_column:
                      id: 789
                      name: Strict JSON check
                      column_type: CODE_EXECUTION
                      position: 3
                      configuration:
                        language: PYTHON
        '400':
          description: Validation failed (invalid type/configuration, duplicate name, etc.)
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    EditReportColumnRequest:
      type: object
      title: EditReportColumnRequest
      required:
        - report_id
        - column_type
      properties:
        report_id:
          type: integer
          description: Parent evaluation pipeline ID. Must match the column parent.
        column_type:
          type: string
          enum:
            - PROMPT_TEMPLATE
            - CODE_EXECUTION
            - ENDPOINT
            - WORKFLOW
            - MCP
            - HUMAN
            - CONVERSATION_SIMULATOR
            - LLM_ASSERTION
            - AI_DATA_EXTRACTION
            - COMPARE
            - CONTAINS
            - REGEX
            - COSINE_SIMILARITY
            - ABSOLUTE_NUMERIC_DISTANCE
            - JSON_PATH
            - XML_PATH
            - REGEX_EXTRACTION
            - PARSE_VALUE
            - VARIABLE
            - ASSERT_VALID
            - COALESCE
            - COMBINE_COLUMNS
            - COUNT
            - MATH_OPERATOR
            - MIN_MAX
          description: Replacement column type. DATASET columns cannot be edited.
        configuration:
          type: object
          additionalProperties: true
          nullable: true
          description: Replacement column configuration. Schema depends on column_type.
        name:
          type: string
          nullable: true
          description: New column name. Must be unique within the pipeline.
        position:
          type: integer
          minimum: 1
          nullable: true
          description: New 1-based position. Cannot overwrite dataset columns.
    EditReportColumnResponse:
      type: object
      title: EditReportColumnResponse
      required:
        - success
        - report_column
      properties:
        success:
          type: boolean
          enum:
            - true
        report_column:
          $ref: '#/components/schemas/ReportColumnSummary'
    ReportColumnSummary:
      type: object
      title: ReportColumnSummary
      additionalProperties: true
      properties:
        id:
          type: integer
        name:
          type: string
        column_type:
          type: string
          enum:
            - PROMPT_TEMPLATE
            - CODE_EXECUTION
            - ENDPOINT
            - WORKFLOW
            - MCP
            - HUMAN
            - CONVERSATION_SIMULATOR
            - LLM_ASSERTION
            - AI_DATA_EXTRACTION
            - COMPARE
            - CONTAINS
            - REGEX
            - COSINE_SIMILARITY
            - ABSOLUTE_NUMERIC_DISTANCE
            - JSON_PATH
            - XML_PATH
            - REGEX_EXTRACTION
            - PARSE_VALUE
            - VARIABLE
            - ASSERT_VALID
            - COALESCE
            - COMBINE_COLUMNS
            - COUNT
            - MATH_OPERATOR
            - MIN_MAX
            - DATASET
        position:
          type: integer
        configuration:
          additionalProperties: true
          type: object
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          default: false
          description: Indicates that the request failed.
        message:
          type: string
          description: Human-readable error message.
        error:
          type: string
          description: Machine-readable or fallback error message.
      additionalProperties: true
      description: >-
        Standard error response. Some legacy endpoints may return either message
        or error.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  responses:
    UnauthorizedError:
      description: Unauthorized - missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ForbiddenError:
      description: Forbidden - API key does not have access to the requested resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFoundError:
      description: Not found - requested resource does not exist or is not accessible.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ValidationError:
      description: Validation error - request parameters or body are invalid.
      content:
        application/json:
          schema:
            oneOf:
              - $ref: '#/components/schemas/HTTPValidationError'
              - $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````