deleteEval

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.

Arguments

  • projectReferenceString!required

  • evalIdString!required

  • inputWriteTargetInput

  • input.sourceTargetKindWriteTargetKind

    The source to write; default project. One of project, preview_branch.

  • input.targetBranchIdID

    Required with the kind preview_branch.

Responses

mutation DeleteEval($projectReference: String!, $evalId: String!) {  deleteEval(projectReference: $projectReference, evalId: $evalId) {    ok  }}
{  "data": {    "deleteEval": {      "ok": false    }  }}

The Acknowledgement! in data.deleteEval.