Evaluations
Create Evaluation Pipeline
POST
Create an Evaluation Pipeline associated with a dataset group. Use this endpoint to create a pipeline blueprint with optional columns, custom scoring configuration, folder placement, and external IDs.Documentation Index
Fetch the complete documentation index at: https://promptlayer-add-demo-projects.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Behavior Notes
- Evaluation columns use the same node definitions as Workflows. See Node & Column Types.
- Set
is_part_of_scoreon columns for built-in scoring, or providescore_configurationfor custom scoring logic. - Custom scoring concepts are covered in Score Card.
Related
Authorizations
Body
application/json
Evaluation pipeline creation payload.
ID of the dataset group to use.
Name for the pipeline. Auto-generated if omitted.
Folder ID for organization.
Specific dataset version. Uses latest published version if omitted.
Evaluation columns to add to the pipeline.
Optional custom scoring logic.
Example:
{
"code": "score = sum(1 for row in data if row.get(\"Accuracy Check\") is True) / len(data) * 100 if data else 0\nreturn {\"score\": score}",
"code_language": "PYTHON"
}External ID mappings to attach to the pipeline.
Response
Evaluation pipeline created.

