Get Eval Structure
Retrieve the configuration structure of a specific evaluation, including required keys,.
GET
https://api.futureagi.com/model-hub/develops/{dataset_id}/get_eval_structure/{eval_id}/ Authentication
Path parameters
dataset_id
UUID of the dataset. Required when eval_type is user.
eval_id
UUID of the evaluation template or user eval metric to retrieve.
Query parameters
eval_type
Type of evaluation to retrieve. One of preset, user, or previously_configured.
Response
200 OK data
Response payload containing the evaluation structure.
eval
Evaluation structure object with all configuration details.
id
UUID of the evaluation.
template_id
UUID of the underlying eval template.
name
Display name of the evaluation.
description
Description of what the evaluation assesses.
required_keys
Variable keys that must be mapped to dataset columns.
optional_keys
Variable keys that may optionally be mapped to dataset columns.
variable_keys
Complete list of all template variable keys (required and optional).
mapping
Current key-to-column mapping configuration.
config
Template-specific configuration parameters.
params
Runtime parameters for the evaluation.
output
Output type of the evaluation.
choices
Choice options for choice-type evaluations.
models
Configured model for running this evaluation.
kb_id
UUID of the associated knowledge base, if configured.
error_localizer
Whether error localization is enabled.
api_key_available
Whether the required API key for the evaluation model is configured.
success
Whether the request completed successfully.
Errors
400
Invalid request parameters.
401
Invalid or missing API credentials.
404
The specified eval template or user eval was not found.
500
An unexpected error occurred on the server while retrieving the eval structure.