---
title: "Search keys — supplemental"
description: "A key-search route that isn't in Visa's public TAP catalog, so it may change without notice."
url: https://app.visacli.sh/docs/reference/vars/search-keys
updated: 2026-11-09
---

# Search keys — supplemental

> A key-search route that isn't in Visa's public TAP catalog, so it may change without notice.

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

```text
GET /vars/v1/agents/{agentId}/keys/search
```

Related guide: [Register an agent](/docs/register-an-agent.md).

| Parameter | Location | Required | Type / meaning |
| --- | --- | --- | --- |
| `agentId` | path | Yes | `string`<br>The agent's ID. |
| `keywords` | query | Yes | `string`<br>The words to search keys for. The route refuses a request without them. |
| `q` | query | No | `string`<br>Send q with the same value for compatibility. |

A successful call answers `200`. Visa CLI's own client doesn't call this route, and these pages don't document its result schema, matching rules or other statuses. Read the results defensively: they may come as a `keys` or `items` list or as a plain array.

```bash title="Supplemental search template"
base='https://sandbox.api.visa.com/vars/v1'
query='apiKey=YOUR_API_KEY&keywords=YOUR_SEARCH&q=YOUR_SEARCH'
curl --request GET \
  "$base/agents/YOUR_AGENT_ID/keys/search?$query" \
  --header 'Accept: application/json' \
  --header 'x-pay-token: TOKEN_FOR_THIS_EXACT_REQUEST'
```
