---
title: "Public key retrieval (abstract specification)"
description: "The TAP merchant specification defines a public-key retrieval operation abstractly; it does not publish a concrete Visa host for this path."
url: https://app.visacli.sh/docs/reference/keys/public-key-retrieval
updated: 2026-11-09
---

# Public key retrieval (abstract specification)

> The TAP merchant specification defines a public-key retrieval operation abstractly; it does not publish a concrete Visa host for this path.

Canonical: https://app.visacli.sh/docs/reference/keys/public-key-retrieval. Updated: 2026-11-09. Full index: /llms.txt.

```text
GET /keys
```

Related guide: [Where to look up a key](/docs/keys-and-directories.md).

The specification lists one input, `keyID`, a string. It doesn't say where it goes, how many are allowed or whether it's required, so don't assume a query spelling or a `/keys/{id}` path.

**Success:** a 2xx response with a JWK object. Listed fields are `kty`, `kid`, `use`, `alg`, and RSA-specific `n` / `e`. Other key types have their own JWK members. A JWKS uses a keys array, which is a distinct envelope.

Key-store origin, authentication, endpoint-specific error schema, exact query / path selector and cache policy are not specified here. Select the key matching keyid / kid from an independently trusted issuer or the Visa Agent Directory.

> [!WARNING] What Visa CLI adds
> Visa CLI has concrete public registry and Web Bot Auth key list routes, in the [Visa CLI API](/docs/reference/visa-cli.md). Its signed metadata maps the sandbox and production origins of the Visa Agent Directory. Both resolved and presented valid certificates when we checked on 9 November 2026, though we've only fetched keys from the sandbox one. We've fetched Visa CLI keys from the sandbox origin by UUID, at `/.well-known/jwks/keys/{keyId}`, and it answered `200` with `agentType: known`, `tokenRequestorId` and the key's expiry. The [Web Bot Auth key list](/docs/reference/visa-cli/web-bot-auth-public-key-directory.md) page shows the shape. That path isn't the abstract `GET /keys` described here.

Sources: [TAP merchant specifications](https://developer.visa.com/docs/trusted-agent-protocol/trusted-agent-protocol-specifications).
