Create an experiment
Create a new experiment with workflows. Supports custom (submit results via API), completion (auto-run LLM calls), and prompt (test prompt versions) workflow types.
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY.
Request
This endpoint expects an object.
name
Experiment name.
dataset_id
Dataset ID to run against.
description
Experiment description.
workflows
Array of workflow configs. Each has type, config, and optional settings.
evaluator_slugs
Evaluator slugs to auto-run on results.
Response
Successful response for Create experiment
id
name
description
dataset_id
workflows
evaluator_slugs
status
created_at
updated_at
Errors
401
Unauthorized Error