tote_history

Fetch tote history records matching the supplied arguments.

Arguments

ArgumentTypeRequiredDefaultDescription
tote_nameStringNo

Filter by tote name.

tote_idStringNo

Filter by tote ID; pass the public API ID unless the field name says legacy ID.

date_fromISODateTimeNo

Inclusive start of the date range, in ISO-8601 datetime format.

date_toISODateTimeNo

Inclusive end of the date range, in ISO-8601 datetime format.

analyzeBooleanNo

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

Return Type

ToteHistoryQueryResult

Query

query tote_history(
  $tote_name: String,
  $tote_id: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $analyze: Boolean
) {
  tote_history(
    tote_name: $tote_name,
    tote_id: $tote_id,
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ToteHistoryConnectionFragment
    }
  }
}

Variables

{
  "tote_name": "TOTE-001",
  "tote_id": "VG90ZToxMjM0",
  "date_from": "2026-07-09T15:30:00Z",
  "date_to": "2026-07-09T15:30:00Z",
  "analyze": true
}

Response

{
  "data": {
    "tote_history": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "data": [{id: "VG90ZUhpc3Rvcnk6MTIzNA=="}]
    }
  }
}