Create Custom Eval Template — API
Create a reusable custom eval template with criteria, output type (e.g. Pass/Fail), required keys, and model configuration.
https://api.futureagi.com/model-hub/create_custom_evals/ Authentication
Request body
Description of what the eval template assesses.
Evaluation criteria text used by the LLM evaluator. Maximum 100,000 characters. Required unless config.data_injection is enabled — when data injection is active the evaluator runs directly on injected data without needing template variables in the criteria.
Type of evaluation output produced by the template. Accepted values: Pass/Fail, score, choices. Defaults to Pass/Fail.
Array of template variable names that must be mapped to dataset columns.
Configuration object controlling evaluation behavior and visibility.
Model to use for running evaluations. Default is turing_small.
Whether to route evaluation requests through the AGI proxy. Default is true.
Whether the eval template is visible in the dashboard UI. Default is true.
Whether to invert the output logic of the evaluation.
Additional template-level configuration parameters (e.g. LengthBetween bounds).
Array of tag strings for categorizing the eval template.
Key-value mapping of choice options. Required when output_type is choices.
Whether the evaluation should check internet sources during assessment.
Whether multiple choices can be selected when output_type is choices.
UUID of an existing eval template to use as a base.
Internal template classification. Defaults to futureagi. Pass only when creating templates with a specific provider type.
Response
200 OKResponse payload containing the new eval template identifier.