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

# List Tenants

`GET /tenants`

List all tenants with cursor-based pagination.

> When self-hosting this endpoint requires Redis with RediSearch module (e.g., `redis/redis-stack-server`).
If RediSearch is not available, this endpoint returns `501 Not Implemented`.

When authenticated with a Tenant JWT, returns only the authenticated tenant.

## Query parameters

- `id` union
  - string
  - string[]
- `limit` integer
- `dir` 'asc' | 'desc'
- `next` string
- `prev` string

## Response `200`

List of tenants.

- TenantPaginatedResult — Paginated list of tenants.
  - `models` Tenant[] — Array of tenant objects.
    - `id` string — User-defined system ID for the tenant.
    - `destinations_count` integer — Number of destinations associated with the tenant.
    - `topics` string[] — List of subscribed topics across all destinations for this tenant.
    - `metadata` object, nullable — Arbitrary key-value pairs for storing contextual information about the tenant.
    - `created_at` string, date-time — ISO Date when the tenant was created.
    - `updated_at` string, date-time — ISO Date when the tenant was last updated.
  - `pagination` SeekPagination — Cursor-based pagination metadata for list responses.
    - `order_by` string — The field being sorted on.
    - `dir` 'asc' | 'desc' — Sort direction.
    - `limit` integer — Page size limit.
    - `next` string, nullable — Cursor for the next page of results. Null if no more results.
    - `prev` string, nullable — Cursor for the previous page of results. Null if on first page.
  - `count` integer — Total count of all tenants.

## Other responses

- `400` — Malformed JSON or invalid request parameters.
- `401` — Missing or invalid authentication credentials.
- `500` — Unexpected server error.
- `501` — List Tenants feature is not available. Requires Redis with RediSearch module.

---

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