listEvalRuns

List evaluation runs. Requires project.runs.read.

Arguments

  • commandRunsListEvalRunsCommand!required

  • command.projectReferenceString!required

  • command.evalIdID!required

  • command.limitFloat

    Maximum number of records in a page, from 1 to 100. Defaults to 20.

  • command.cursorString

    The page_info.next of the previous page: the run_id of its last run. Keep sort_by and sort_order the same across pages.

  • command.sortByString

    Sort field. Defaults to "created_at".

  • command.sortOrderString

    Sort order. Defaults to "desc".

Responses

query ListEvalRuns($command: RunsListEvalRunsCommand!) {  listEvalRuns(command: $command) {    data {      id      runId      status      projectId      input      output      title      labels      parentRunId      rootRunId      createdAt      updatedAt      startedAt      finishedAt      config      taskId      conversationId      inputMessageId      outputMessageId      batchId      metadata    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "listEvalRuns": {      "data": [        {          "id": "string",          "runId": "string",          "status": "string",          "projectId": "string",          "input": {},          "output": {},          "title": "string",          "labels": {},          "parentRunId": "string",          "rootRunId": "string",          "createdAt": "string",          "updatedAt": "string",          "startedAt": "string",          "finishedAt": "string",          "config": {},          "taskId": "string",          "conversationId": "string",          "inputMessageId": "string",          "outputMessageId": "string",          "batchId": "string",          "metadata": {}        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The RunsRunConnection! in data.listEvalRuns.