CLI docs

Visa Agent Directory services (optional)Key lookup overview

Visa Agent Directory services (optional)TAP specification

Key lookup

Look up the key behind a signature: base URLs, authentication, and a complete request and response.

Markdownllms.txt
On this page

A verifier looks up the key named in a signature's keyid, and decides from the answer. This section covers TAP as its specification publishes it: an abstract key-store operation with no published host, and a catalog entry that Visa's OpenAPI lists under its sandbox server but with no parameters, responses or security contract. The lookup you can call today is Visa CLI's, below, and its full reference is Look up a key.

Base URLs

ServiceBase URLWhat it holds
Visa CLI registry, productionhttps://auth.visacli.shVisa CLI's listed agents and their keys. Each listing names where its key is registered: the Visa Agent Directory (production) for new agents, the Visa Agent Directory sandbox for agents connected before 18 November. Its key list is https://auth.visacli.sh/.well-known/http-message-signatures-directory, live with the listed agents' keys
The Visa Agent Directory, sandboxhttps://sbx.agenticdirectory.visa.comVisa's own record of a key, by UUID, at /.well-known/jwks/keys/{keyId}
The Visa Agent Directory, productionhttps://agenticdirectory.visa.comThe same, for production. A new Visa CLI agent's key resolves here

Authentication

None. Key and agent lookups are public reads with no API key, token or account. They send no CORS headers, so call them from your server. Registering agents and merchants is different, and Authentication covers it.

A complete lookup

This is Visa CLI's lookup, not part of the TAP specification. The example key is a well-formed thumbprint that isn't listed anywhere.

GET https://auth.visacli.sh/v1/tap/registry/keys/{jkt} takes the signature's keyid, either a 43-character thumbprint or the UUID the Visa Agent Directory gave the key.

StatusMeansWhat to do
200Listed and active. Cached for 60 secondsVerify the signature with the key whose id or jkt matches
404Unknown, paused, revoked or still publishing. no-storeRefuse
400Malformed keyid. no-storeRefuse a malformed keyid yourself, as tap_malformed, before you ask. The example verifier does, so a 400 that still comes back is unexpected, and it treats it as couldn't check
503, 429, otherCouldn't checkAnswer 503 with Retry-After, and don't record a failure

In words: a 200 means listed and active. A 404 means refuse, because unknown, paused, revoked and still-publishing keys all look the same. A 503, 429 or any other status means you couldn't check, so answer 503 with Retry-After and don't record a failure.

The 200 response has every field a listing always carries, with example values. A key with metadata from the Visa Agent Directory also has domain at the top and directory on the key, as Public signing key lookup shows. The 404 is what production returned when we ran this, trimmed to the fields to branch on.

jkt='nEArpjG3kYMcxbdzInyGlBEYQUw7RfAfe3Tw1fZvAA0'

curl -i \
  "https://auth.visacli.sh/v1/tap/registry/keys/$jkt"
const jkt = 'nEArpjG3kYMcxbdzInyGlBEYQUw7RfAfe3Tw1fZvAA0'
const url = `https://auth.visacli.sh/v1/tap/registry/keys/${encodeURIComponent(jkt)}`
const response = await fetch(url)
console.log(response.status, await response.json())
import json
import urllib.error
import urllib.parse
import urllib.request

jkt = 'nEArpjG3kYMcxbdzInyGlBEYQUw7RfAfe3Tw1fZvAA0'
url = 'https://auth.visacli.sh/v1/tap/registry/keys/' + urllib.parse.quote(jkt, safe='')

try:
    with urllib.request.urlopen(url, timeout=5) as response:
        print(response.status, json.load(response))
except urllib.error.HTTPError as error:
    print(error.code, json.load(error))
Response 200, example values
{
  "id": "7f4c82a1-305e-4f9c-8d2a-1b3e5f7c502a",
  "name": "Example Commerce Agent",
  "isActive": true,
  "createdAt": "2026-11-05T00:00:00Z",
  "updatedAt": "2026-11-05T00:00:00Z",
  "keys": [
    {
      "id": "a1b2c384-56c7-48d9-be0f-1e2d3c4b5a6f",
      "agentId": "7f4c82a1-305e-4f9c-8d2a-1b3e5f7c502a",
      "keyName": "YOUR_PUBLIC_JWK_THUMBPRINT",
      "status": "active",
      "algorithm": "ed25519",
      "publicKey": "BASE64_ENCODED_SPKI_PEM_PUBLIC_KEY",
      "jkt": "YOUR_PUBLIC_JWK_THUMBPRINT",
      "expirationDate": "2027-11-05T00:00:00.000Z"
    }
  ]
}
Response 404, as production returns it today
{
  "code": "not_found",
  "detail": "tap_registry_entry",
  "retryable": false,
  "retry_after_seconds": null
}

The full 404 body also has guidance fields worded for Visa CLI's own agent, which a verifier doesn't read. A real lookup shows a run with its headers. Verify a signed request turns the answer into a decision.

TAP specification operations

Updated 18 Nov 2026