List conversation runs

listConversationRuns(command: RunsListConversationRunsCommand!): RunsRunConnection!

Requires project.runs.read.

Arguments

ArgumentTypeRequired
commandRunsListConversationRunsCommand!Yes

Input fields

command

RunsListConversationRunsCommand

FieldTypeRequiredDescription
conversationIdID!Yes
cursorStringNo
limitFloatNoMaximum number of records in a page, from 1 to 100. Defaults to 20.
status[String!]NoRun statuses to include. Values within this filter use OR; different filters use AND.

Response

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

FieldTypeDescription
data[RunsRun!]!
pageInfoPageInfo!Opaque cursor for the next page; null means there are no more results.

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

Example

query.graphql
query ListConversationRuns($command: RunsListConversationRunsCommand!) {  listConversationRuns(command: $command) {    data {      id      projectId      runId      status      createdAt    }    pageInfo {      hasNextPage      endCursor      hasPreviousPage      startCursor    }  }}
variables.json
{  "command": {    "conversationId": "00000000-0000-4000-8000-000000000001"  }}