cycle_count

Arguments

ArgumentTypeRequiredDefaultDescription
idString!Yes

The ID of the cycle count batch.

analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

CycleCountQueryResult

Query

query cycle_count(
  $id: String!,
  $analyze: Boolean
) {
  cycle_count(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...CycleCountBatchFragment
    }
  }
}

Variables

{
  "id": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "cycle_count": {
      "request_id": "abc123",
      "complexity": 987,
      "data": CycleCountBatch
    }
  }
}