---
title: "Add Column to Evaluation Pipeline"
method: POST
path: "/report-columns"
tags: ["reports"]
---

# Add Column to Evaluation Pipeline

`POST /report-columns`

## Request body

- object
  - `report_id` integer, required — The ID of the evaluation pipeline to add this column to.
  - `column_type` 'ABSOLUTE_NUMERIC_DISTANCE' | 'AI_DATA_EXTRACTION' | 'ASSERT_VALID' | 'CONVERSATION_SIMULATOR' | 'COALESCE' | 'CODE_EXECUTION' | 'COMBINE_COLUMNS' | 'COMPARE' | 'CONTAINS' | 'COSINE_SIMILARITY' | 'COUNT' | 'ENDPOINT' | 'MCP' | 'HUMAN' | 'JSON_PATH' | 'LLM_ASSERTION' | 'MATH_OPERATOR' | 'MIN_MAX' | 'PARSE_VALUE' | 'APPLY_DIFF' | 'PROMPT_TEMPLATE' | 'REGEX' | 'REGEX_EXTRACTION' | 'VARIABLE' | 'XML_PATH' | 'WORKFLOW' | 'CODING_AGENT', required — The type of evaluation or transformation this column performs. Must be one of the supported column types.
  - `name` string, required — Display name for this column. Must be unique within the pipeline. This name is used to reference the column in subsequent steps.
  - `configuration` object, required — Column-specific configuration. The schema varies based on column_type. See documentation for each type's requirements.
  - `position` integer, nullable — Optional position for the column. If not specified, the column is added at the end. Cannot overwrite dataset columns.

## Response `201`

Column added successfully

- object
  - `success` boolean
  - `report_column` object — Details of the created column including its ID and configuration

## Other responses

- `400` — Bad Request - Invalid column type, configuration validation failed, or column name already exists
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Cannot overwrite dataset columns or missing permissions
- `404` — Not Found - Report not found or not accessible
- `422` — Validation error - request parameters or body are invalid.

---

[API](https://skmtc.dev/promptlayer/apis/promptlayer-api.md) · [All operations](https://skmtc.dev/promptlayer/apis/promptlayer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/promptlayer/promptlayer-api/revisions/a23093a0a506/schema)
