List evals

http
GET /projects/{project_reference}/evals

List the evals defined in the source of a project, a branch or an environment to find an eval to run or edit; returns every eval as one page with the source files that could not be read as evals. Requires project.evals.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
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
200Source-backed evaluation definitions from the selected source target: evaluations from the selected project source.
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.