Get eval

eval(projectReference: String!, evalId: String!, input: SourceSelectorInput): Eval!

Requires project.evals.read.

Arguments

ArgumentTypeRequired
projectReferenceString!Yes
evalIdString!Yes
inputSourceSelectorInputNo

Input fields

input

SourceSelectorInput

FieldTypeRequiredDescription
sourceTargetKindSourceTargetKindNoThe source to read; default runtimeTargetKind, else project.
runtimeTargetKindRuntimeTargetKindNoUsed as the source to read when sourceTargetKind is omitted.
targetEnvironmentIdIDNoRequired with the kind environment.
targetBranchIdIDNoRequired with the kind preview_branch.

Response

Returns Eval!. Open the type for its fields and nested types.

FieldTypeDescription
idID!
nameString!
descriptionString
targetKindEvalTargetKind!
targetString!The identifier of the agent the eval runs against.
sourcePathString!
exportNameString!
datasetEvalDataset!

All fields of Eval.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query Eval($projectReference: String!, $evalId: String!, $input: SourceSelectorInput) {
  eval(projectReference: $projectReference, evalId: $evalId, input: $input) {
    id
    name
    capabilities
    description
    dynamicFields
  }
}
json
{
  "projectReference": "00000000-0000-4000-8000-000000000001",
  "evalId": "00000000-0000-4000-8000-000000000001"
}