For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Copy to LLMGithubGo to App
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
    • Overview
  • Python SDK
    • Reference
    • REST API Client
  • Typescript SDK
    • Overview
    • Opik TS
    • Prompts
    • Opik Query Language (OQL)
  • Rest API
    • Overview
        • PATCHBatch update experiments
        • GETFind experiments
        • POSTCreate experiment
        • POSTCreate experiment items
        • POSTDelete experiment items
        • POSTDelete experiments by id
        • POSTCreate and execute experiment
        • PUTRecord experiment items in bulk
        • GETFind Feedback Score names
        • GETFind experiment groups
        • GETFind experiment groups with aggregations
        • POSTFinish experiments
        • GETGet experiment by id
        • PATCHUpdate experiment by id
        • GETGet experiment item by id
        • POSTStream experiment items
        • POSTStream experiments
LogoLogo
Copy to LLMGithubGo to App
Rest APIAPI ReferenceExperiments

Record experiment items in bulk

PUT
/v1/private/experiments/items/bulk
PUT
/api/v1/private/experiments/items/bulk
$curl -X PUT http://localhost:5173/api/v1/private/experiments/items/bulk \
> -H "Content-Type: application/json" \
> -d '{
> "experiment_name": "string",
> "dataset_name": "string",
> "items": [
> {
> "dataset_item_id": "string"
> }
> ]
>}'
Record experiment items in bulk with traces, spans, and feedback scores. Maximum request size is 4MB.
Was this page helpful?
Previous

Find Feedback Score names

Next
Built with

Request

This endpoint expects an object.
experiment_namestringRequired>=1 character
dataset_namestringRequired>=1 character
itemslist of objectsRequired
experiment_idstringOptionalformat: "uuid"
Optional experiment ID. If provided, items will be added to the existing experiment and experimentName will be ignored. If not provided or experiment with that ID doesn't exist, a new experiment will be created with the given experimentName

Errors

400
Bad Request Error
409
Conflict Error
422
Unprocessable Entity Error