---
title: "JWKS endpoint"
method: GET
path: "/.well-known/jwks.json"
tags: ["openId-connect_other"]
---

# JWKS endpoint

`GET /.well-known/jwks.json`

## Request

- Base URL: `https://api.firefly.ai/v2`
- URL: `https://api.firefly.ai/v2/.well-known/jwks.json`
- Auth: none declared
- TypeScript: <https://skmtc.dev/firefly/apis/api-gateway/docs/.well-known/jwks.json/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

JSON Web Key Set

- JWKSet
  - `keys` JWK[], required: Array of JSON Web Keys
    - `kty` string, required: Key type (e.g., "RSA")
    - `use` string, required: Intended use of the key (e.g., "sig" for signature)
    - `kid` string, required: Key ID
    - `alg` string, required: Algorithm (e.g., "RS256")
    - `n` string, required: RSA modulus (base64-url-encoded)
    - `e` string, required: RSA exponent (base64-url-encoded)

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/firefly/apis/api-gateway.md) - [All operations](https://skmtc.dev/firefly/apis/api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly/apis/api-gateway/revisions/eea119b4113f?raw)
