List conversation agent runs

agentRuns(conversationId: ID!, limit: Int, cursor: String): AgentRunConnection!

Arguments

ArgumentTypeRequired
conversationIdID!Yes
limitIntNo
cursorStringNo

Response

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

FieldType
data[AgentRun!]!
pageInfoPageInfo!

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

Example

graphql
query AgentRuns($conversationId: ID!, $limit: Int, $cursor: String) {
  agentRuns(conversationId: $conversationId, limit: $limit, cursor: $cursor) {
    data {
      projectId
      runId
      agentId
      status
      createdAt
    }
    pageInfo {
      hasNextPage
      endCursor
      hasPreviousPage
      startCursor
    }
  }
}
json
{
  "conversationId": "00000000-0000-4000-8000-000000000001"
}