List evaluation run projections

projectEvalRunsConnection(input: ProjectEvalRunsInput!): ProjectEvalRunConnection!

Requires project.evals.read.

Arguments

ArgumentTypeRequired
inputProjectEvalRunsInput!Yes

Input fields

input

ProjectEvalRunsInput

FieldTypeRequiredDescription
projectReferenceString!Yes
evalIdString!Yes
limitIntNo
cursorStringNoThe previous page's pageInfo.endCursor: the runId of its last run. Keep sortBy and sortOrder the same across pages.
sortByStringNoSort key, as on REST: created_at (default) or status.
sortOrderStringNoSort direction, as on REST: desc (default) or asc.

Response

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

FieldType
data[ProjectEvalRun!]!
pageInfoPageInfo!

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

Example

graphql
query ProjectEvalRunsConnection($input: ProjectEvalRunsInput!) {
  projectEvalRunsConnection(input: $input) {
    data {
      runId
      status
      createdAt
      completedAt
      error
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
json
{
  "input": {
    "projectReference": "00000000-0000-4000-8000-000000000001",
    "evalId": "00000000-0000-4000-8000-000000000001"
  }
}