---
title: "Retrieve the public key that can be used to validate the signed tree head"
method: GET
path: "/api/v1/log/publicKey"
tags: ["pubkey"]
---

# Retrieve the public key that can be used to validate the signed tree head

`GET /api/v1/log/publicKey`

Returns the public key that can be used to validate the signed tree head

## Query parameters

- `treeID` string

## Response `200`

The public key

## Other responses

- `default` — There was an internal error in the server while processing the request

## Changes

- **2022-03-31** `9550cfa3b1fd` — 1 info
  - added the new optional `query` request parameter `treeID`
- **2021-04-15** `a7a28befd293` — 2 info
  - api tag `pubkey` added
  - api tag `tlog` removed
- **2021-01-28** `a6c8f19ce1c3` — 1 warning, 2 info
  - deleted the `query` request parameter `treeID`
  - api tag `tlog` added
  - api tag `pubkey` removed

[Change history](https://skmtc.dev/sigstore/apis/rekor/changes/api/v1/log/publicKey/get.md)

---

[API](https://skmtc.dev/sigstore/apis/rekor.md) · [All operations](https://skmtc.dev/sigstore/apis/rekor/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sigstore/rekor/revisions/35007e4582f4/schema)
