Delete eval

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

Delete the source file of a structured eval that is no longer needed, from the project source or a preview branch; returns an acknowledgement, or a conflict when the file must be edited in code because it defines other evals or builds the eval in code. Requires project.evals.write; API keys also need delete scope.

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
200The eval source file was deleted.
400Bad request
401Unauthorized
403Forbidden. API keys also require delete scope.
404Not found
409Conflict
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.