Get eval

http
GET /projects/{project_reference}/evals/{eval_id}

Read one eval definition by its ID to inspect its target, dataset, metrics and the fields that can be edited; returns the eval. Requires project.evals.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
eval_idpathYes
source_target_kindquerySource to read: project, main_branch, environment or preview_branch. Overrides runtime_target_kind.
runtime_target_kindqueryRuntime target to read from: main_branch, environment or preview_branch.
target_environment_idqueryEnvironment to read from when the target kind is environment.
target_branch_idqueryPreview branch to use when the target kind is preview_branch.

Responses

StatusDescription
200The eval definition from the selected source target.
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.