# Returns a paginated list of available clients, optionally filtered by a query

**Required IAM actions** (all required, on scope `/`): `tenant.subjects.read`

Endpoint: GET /v1/clients
Version: 1
Security: authorization_code_with_pkce, client_credentials

## Security:

  - `authorization_code_with_pkce` (unknown)
    oauth2 scopes: services.iam

  - `client_credentials` (unknown)
    oauth2 scopes: services.iam

## Query parameters:

  - `searchText` (string)
    Search query

  - `page` (integer)
    Requested page

  - `pageSize` (integer)
    Requested pagesize

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array, required)
    The items on the current page.

  - `items.clientId` (string, required)
    Client ID

  - `items.name` (string, required)
    Client name

  - `items.description` (string, required)
    Client description

  - `items.allowedGrantTypes` (array, required)
    Allowed grant types. I.e. "authorization_code", "client_credentials", "password", etc.

  - `items.redirectUris` (array, required)
    Allowed redirect uris

  - `items.allowedScopes` (array, required)
    Scopes that can be requested for this client

  - `metadata` (object, required)
    Pagination details such as current page, page size, and total count.

  - `metadata.page` (integer, required)
    The current page number (1-based).

  - `metadata.pageSize` (integer, required)
    The number of items per page.

  - `metadata.totalCount` (integer, required)
    The total number of items across all pages.

  - `links` (object, required)
    Navigation links for first, previous, next, and last pages.

  - `links.first` (string)
    Link to the first page.

  - `links.previous` (string)
    Link to the previous page, if one exists.

  - `links.next` (string)
    Link to the next page, if one exists.

  - `links.last` (string)
    Link to the last page.

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden

