---
title: "Download a JWK as its raw JSON document"
method: GET
path: "/apiops/projects/{projectName}/jwks/{jwkName}/export-file/"
tags: ["JWK"]
---

# Download a JWK as its raw JSON document

`GET /apiops/projects/{projectName}/jwks/{jwkName}/export-file/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/jwks/{jwkName}/export-file/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/jwks/:jwkName/export-file/get.ts> (a function with typed inputs; its response is checked against the schema)

Downloads the JWK Set document itself instead of an Apinizer export package, so it can be handed to a relying party or another system directly. By default the stored material is returned as-is; with publicOnly=true only the public members are written, which is what a published JWKS endpoint serves.

## Path parameters

- `projectName` string, required
- `jwkName` string, required

## Query parameters

- `publicOnly` boolean

## Response `200`

successful operation!

## Other responses

- `400`: bad request!
- `401`: not authorized for this operation!
- `500`: internal error!

## Changes

- **2026-10-20** `d1a546deccf0`: 3 breaking
  - for the `query` request parameter `publicOnly`, default value `false` was added
  - for the `query` request parameter `publicOnly`, the type changed from `string` to `boolean`
  - removed the media type `application/json` for the response with the status `200`
  - …this revision’s changelog is incomplete
- **2026-08-11** `9ae232e55479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/projects/:projectName/jwks/:jwkName/export-file/get.md)

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/8715135c9deb?raw)
