---
title: "Query tenants"
method: GET
path: "/api/tenants"
tags: ["Tenants"]
---

# Query tenants

`GET /api/tenants`

## Query parameters

- `filter` string
- `orderBy` string
- `result` 'Items' | 'Count' | 'ItemsWithCount' — The query result type
- `select` string
- `skip` integer
- `status` 'Active' | 'Inactive' — The object status
- `top` integer

## Response `200`

Success

## Other responses

- `404` — Not Found
- `422` — Client Error

## Changes

- **2023-07-23** `fd1b5146be4a` — 25 warning, 110 info
  - deleted the `query` request parameter `apply`
  - removed the optional property `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/isFunctionPointer` from the response with the `422` status
  - removed the optional property `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/isUnmanagedFunctionPointer` from the response with the `422` status
  - removed the optional property `additionalProperties/errors/items/exception/targetSite/declaringType/assembly/definedTypes/items/isFunctionPointer` from the response with the `422` status
  - …131 more

[Change history](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/changes/api/tenants/get.md)

---

[API](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1.md) · [All operations](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/payroll-engine/payroll-engine-backend-api-v1/revisions/fd1b5146be4a/schema)
