Snapshots

Return fleet-wide XFA agent adoption history

Returns the daily agent adoption aggregates, oldest first. System administrators only: the aggregate spans the whole fleet and is not scoped to any organization. History starts at the day the aggregation job first ran, because the underlying shadow holds only a device's current state and earlier days cannot be recomputed. An empty list is therefore a normal answer.

get/agent-adoption

Request

  • Base URL: https://api.xfa.tech
  • URL: https://api.xfa.tech/agent-adoption
  • Auth: HTTP bearer

Query parameters

daysinteger
Example:90

Number of trailing daily aggregates to return, today included. Defaults to 90. Values above 1095 are accepted and clamped to 1095 rather than rejected, which is why no maximum is declared here: a maximum would describe them as invalid input, and they are not.

Response

Returns the agent adoption aggregates, oldest first

datestring required

Day the aggregate was produced, as YYYY-MM-DD

windowDaysinteger required

How far back a device must have submitted to be counted

generatedAtinteger required

Unix timestamp (seconds) the aggregate was written

Example response

[
  {
    "date": "2026-08-24",
    "windowDays": 30,
    "desktop": {
      "versions": {
        "2.4.2": 120,
        "2.4.1": 15
      }
    },
    "mobile": {
      "versions": {
        "2.4.2": 120,
        "2.4.1": 15
      }
    },
    "other": {
      "versions": {
        "2.4.2": 120,
        "2.4.1": 15
      }
    }
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.