For the complete documentation index, see llms.txt. This page is also available as Markdown.

List A User AI Task's Answers

GraphQL endpoint: /user

Lists every run of one task, newest first — including runs still QUEUED or RUNNING, and answers superseded by a later run, so a document appears once per run rather than once in total. result and ranAt are null while a run is still going, and stay null on one that ended without reaching the model — error says why. prompt and outputShape are what was asked when the run was published, so an older answer stays interpretable after the task is edited.

Query

query ($taskId: ID!) {
  aiTaskRuns(taskId: $taskId) {
    records {
      documentId
      fileName
      status
      result
      error
      ranAt
      prompt
      outputShape
    }
    paginationInfo { nextCursor }
  }
}

Variables

Response

Last updated

Was this helpful?