bills

Arguments

ArgumentTypeRequiredDefaultDescription
from_dateISODateTimeNo
to_dateISODateTimeNo
statusStringNo
analyzeBooleanNo

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

Return Type

BillsQueryResult

Query

query bills(
  $from_date: ISODateTime,
  $to_date: ISODateTime,
  $status: String,
  $analyze: Boolean
) {
  bills(
    from_date: $from_date,
    to_date: $to_date,
    status: $status,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...BillConnectionFragment
    }
  }
}

Variables

{
  "from_date": ISODateTime,
  "to_date": ISODateTime,
  "status": "abc123",
  "analyze": true
}

Response

{
  "data": {
    "bills": {
      "request_id": "abc123",
      "complexity": 987,
      "data": BillConnection
    }
  }
}