bill

Arguments

ArgumentTypeRequiredDefaultDescription
idString!Yes
analyzeBooleanNo

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

Return Type

BillQueryResult

Query

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

Variables

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

Response

{
  "data": {
    "bill": {
      "request_id": "abc123",
      "complexity": 987,
      "data": Bill
    }
  }
}