---
title: "Get all distinct foundation versions"
method: GET
path: "/v2/foundationversions"
tags: ["device_Device"]
---

# Get all distinct foundation versions

`GET /v2/foundationversions`

Returns a list of distinct foundation versions present in the tenant's devices

## Query parameters

- `limit` integer
- `offset` integer
- `search` string

## Response `200`

Success

- object
  - `count` integer — Total number of distinct foundation versions
  - `prev` string — URL to the previous page of results
  - `next` string — URL to the next page of results
  - `results` object[]
    - `foundation_version` string — The foundation version string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/esper/apis/esper-api-reference.md) · [All operations](https://skmtc.net/esper/apis/esper-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esper/esper-api-reference/revisions/e1f64cbb488e/schema)
