List keys for tenant (paginated)

Returns a paginated view of cryptographic keys owned by the specified
tenant, optionally filtered by lifecycle status.

Response shape: a Spring Page<AdminKeyResponse> envelope with
content (the array of keys for the current page), totalElements,
totalPages, number (zero-based page index), size, and the standard
Spring pagination flags (first, last, empty, numberOfElements).

Pagination: server-side via Spring Pageable. Default size=25,
default sort createdAt,desc. Max size=200 (rejected with 400 above).
Sort fields allow-list: createdAt, expiresAt, alg, kty, status,
kid. Any other sort field returns 400. Sorting by kty orders over ONE
vocabulary: every composite key carries the single coarse token COMPOSITE,
so the ordering is over the published key types and not over a column whose
values follow two conventions.

Query parameters:

  • status (optional): filter by exact lifecycle state, using the SAME token a key's
    status field carries in the response — active, pending_rotation, rotated,
    expired, revoked, archived, deleted_logical, suspended,
    pending_destruction. Absent or empty means no filter.
  • kty (optional): filter by exact key type, using the SAME token a key's kty field
    carries in the response — ML-KEM, ML-DSA, SLH-DSA, FALCON, XMSS, LMS,
    HQC, FRODO, CMCE, BIKE, SABER, NTRU, NTRUPRIME, RSA, EC, OKP,
    oct, SM2, GOST-EC, and COMPOSITE for every hybrid pairing. A composite key's
    construction is carried by compositeMode and its pairing by alg, never by kty.
    Absent or empty means no filter.
  • origin (optional): filter by exact key origin, using the SAME token a key's origin
    field carries in the response — GENERATED or IMPORTED. Absent or empty means no
    filter. Any other value is rejected with 400, never answered with an empty page.
  • page (optional, default 0): zero-based page index.
  • size (optional, default 25, max 200): page size.
  • sort (optional, default createdAt,desc): sort field + direction.

Authorization: requires scope admin.keys.read. Cross-tenant listing is
rejected with 403 unless the caller is a platform administrator
(tenantId == ROOT_TENANT_ID).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Query Params
string
enum
string
enum

Optional key-origin filter, applied server-side BEFORE pagination, using the SAME token a key's origin field carries in the response: GENERATED or IMPORTED. Absent or empty means no filter. Any other value is rejected with 400 — never a silently empty page.

Allowed:
boolean

Optional restricted-flag filter, applied server-side BEFORE pagination.

string
enum

Optional key-type filter, applied server-side BEFORE pagination, using the SAME token a key's kty field carries in the response: ML-KEM, ML-DSA, SLH-DSA, FALCON, XMSS, LMS, HQC, FRODO, CMCE, BIKE, SABER, NTRU, NTRUPRIME, RSA, EC, OKP, oct, SM2, GOST-EC, and COMPOSITE for every hybrid pairing. A composite key publishes one coarse token; its pairing is named by alg and its construction by compositeMode. Absent or empty means no filter. Any other value is rejected with 400.

string
enum

Optional conformance filter (PRD §122), applied server-side BEFORE pagination. ALL (or absent) = no filter; CONFORMING / NON_CONFORMING select by the per-key conformance verdict. Keys with no conformance basis are excluded from both.

Allowed:
integer
≥ 0
Defaults to 0

Zero-based page index (0..N)

integer
≥ 1
Defaults to 25

The size of the page to be returned

sort
array of strings
Defaults to createdAt,DESC

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

sort
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json