---
title: "Create experiment items"
method: POST
path: "/v1/private/experiments/items"
tags: ["Experiments"]
---

# Create experiment items

`POST /v1/private/experiments/items`

Create experiment items

## Request body

- ExperimentItemsBatch
  - `experiment_items` ExperimentItem[], required
    - `id` string, uuid
    - `experiment_id` string, uuid, required
    - `dataset_item_id` string, uuid, required
    - `trace_id` string, uuid, required
    - `project_id` string, uuid
    - `project_name` string
    - `input` JsonListString
    - `output` JsonListString
    - `trace_metadata` JsonListString
    - `feedback_scores` FeedbackScore[]
      - `name` string, required
      - `category_name` string
      - `value` number, required
      - `reason` string
      - `source` 'ui' | 'sdk' | 'online_scoring', required
      - `source_queue_id` string, uuid
      - `created_at` string, date-time
      - `last_updated_at` string, date-time
      - `created_by` string
      - `last_updated_by` string
      - `value_by_author` object
    - `comments` Comment[]
      - `id` string, uuid
      - `text` string, required
      - `source_queue_id` string, uuid
      - `created_at` string, date-time
      - `last_updated_at` string, date-time
      - `created_by` string
      - `last_updated_by` string
    - `total_estimated_cost` number
    - `duration` number, double
    - `usage` object
    - `created_at` string, date-time
    - `last_updated_at` string, date-time
    - `created_by` string
    - `last_updated_by` string
    - `trace_visibility_mode` 'default' | 'hidden'
    - `description` string
    - `execution_policy` ExecutionPolicy
      - `runs_per_item` integer
      - `pass_threshold` integer
    - `assertion_results` AssertionResult[]
      - `value` string
      - `passed` boolean
      - `reason` string
    - `status` 'passed' | 'failed'

## Response `204`

No content

## Changes

- **2026-06-30** `20a1a33446d1` — 2 info
  - added the new optional request property `experiment_items/items/feedback_scores/items/value_by_author/additionalProperties/author`
  - added the new optional request property `experiment_items/items/feedback_scores/items/value_by_author/additionalProperties/source_queue_id`
- **2026-06-19** `580e3bc69e8a` — 2 info
  - added the new optional request property `experiment_items/items/comments/items/source_queue_id`
  - added the new optional request property `experiment_items/items/feedback_scores/items/source_queue_id`
- **2026-06-02** `51f1b20841a7` — 1 info
  - added the new optional request property `experiment_items/items/trace_metadata`
- **2026-05-04** `d606e84c75e4` — 5 warning
  - removed the request property `experiment_items/items/comments/items/source_queue_id`
  - removed the request property `experiment_items/items/feedback_scores/items/source_queue_id`
  - removed the request property `experiment_items/items/feedback_scores/items/value_by_author/additionalProperties/author`
  - removed the request property `experiment_items/items/feedback_scores/items/value_by_author/additionalProperties/source_queue_id`
  - …1 more

[Change history](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/experiments/items/post.md)

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/revisions/0739fa5022ca/schema)
