Read eval source

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

Read the editable source behind one eval before changing it; returns the eval source document with its source text, edit mode and the reasons it can only be edited as source. Requires project.evals.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
eval_idpathYes
source_target_kindquerySource to use: project or preview_branch. Defaults to project.
target_branch_idqueryPreview branch to use when the target kind is preview_branch.

Responses

StatusDescription
200Eval source document
400A source selector other than project or preview_branch, or a branch id with the project source.
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.