---
title: "List JSON Web Keys across the organization"
method: GET
path: "/v2/jsonWebKeys"
tags: ["jsonWebKeys"]
---

# List JSON Web Keys across the organization

`GET /v2/jsonWebKeys`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/jsonWebKeys`
- Auth: HTTP bearer

List every JSON Web Key across every JWK set in the calling organization.

### Usage notes
- Any authenticated user in the organization can make this request.
- Each entry includes `jwkSetId` so results can be grouped by set.
- The response never includes private key material.

### Usage scenarios
- **Key audit:** Find every key nearing expiration across the organization.

## Query parameters

- `pageToken` string
- `pageSize` integer

## Response `200`

The response body.

- JsonWebKeysListAllJsonWebKeysResponse200
  - `entries` V2JsonWebKeysGetResponsesContentApplicationJsonSchemaEntriesItems[], required: Array of results returned by the endpoint
    - `jsonWebKeyId` string, required: Unique identifier of the JSON Web Key.
    - `jwkSetId` string, required: Unique identifier of the JWK set this key belongs to.
    - `algorithm` 'RS256' | 'ES256', required: Signing algorithm this key was generated for.
    - `publicKey` string, required: PEM-encoded X.509 certificate wrapping the public key. Never includes private key material.
    - `expiresAt` string, date-time, required: Expiration timestamp of the underlying certificate.
    - `status` 'active' | 'inactive', required: `active` if this is the key currently used to sign JWT bearer tokens for the set, otherwise `inactive`.
  - `nextPageToken` string: A string that can be passed to the `pageToken` parameter in the next request to fetch the next page of results. Not present in the last page of results. **Must be treated as an opaque string.**

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
