---
title: "Agents in the Visa Agent Directory (VARS)"
description: "Register agents and manage their signing keys."
url: https://app.visacli.sh/docs/reference/vars
updated: 2026-11-09
---

# Agents in the Visa Agent Directory (VARS)

> Register agents and manage their signing keys.

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

Register agents and manage their signing keys with Visa directly. Visa's catalog lists 11 operations, and there is one supplemental search route. You don't need any of this to verify a Visa CLI agent.

> [!NOTE] Where this contract comes from
> Visa restricts the VARS contract, so these pages cover what we can support: what Visa CLI sends and receives today, and an earlier copy of Visa's reference for the statuses, envelopes and fields Visa CLI doesn't use. Where the two differ, the pages follow Visa CLI. Confirm anything you depend on against the contract in your Visa Developer Platform project. Code titled "illustrative" uses example values and isn't a live capture.

## Operations

| Method | Path | Operation |
| --- | --- | --- |
| `POST` | `/vars/v1/agents` | [Register Agent](/docs/reference/vars/register-agent.md) |
| `GET` | `/vars/v1/agents/{agentId}` | [Get Agent](/docs/reference/vars/get-agent.md) |
| `PUT` | `/vars/v1/agents/{agentId}` | [Update Agent](/docs/reference/vars/update-agent.md) |
| `GET` | `/vars/v1/agents/{agentId}/keys` | [List Keys](/docs/reference/vars/list-keys.md) |
| `POST` | `/vars/v1/agents/{agentId}/keys` | [Add Key](/docs/reference/vars/add-key.md) |
| `GET` | `/vars/v1/agents/{agentId}/keys/{keyId}` | [Get Key](/docs/reference/vars/get-key.md) |
| `PUT` | `/vars/v1/agents/{agentId}/keys/{keyId}` | [Update Key](/docs/reference/vars/update-key.md) |
| `DELETE` | `/vars/v1/agents/{agentId}/keys/{keyId}` | [Deactivate Key](/docs/reference/vars/deactivate-key.md) |
| `POST` | `/vars/v1/agents/{agentId}/keys/{keyId}/activate` | [Activate Key](/docs/reference/vars/activate-key.md) |
| `GET` | `/vars/v1/agents` | [Get agents by TRID](#routes-without-a-public-contract) |
| `POST` | `/vars/v1/agents/batch` | [Agents bulk onboarding](#routes-without-a-public-contract) |
| `GET` | `/vars/v1/agents/{agentId}/keys/search` | [Search keys — supplemental](/docs/reference/vars/search-keys.md) |

<a id="routes-without-a-public-contract"></a>

## Routes without a public contract

Visa's [catalog](https://developer.visa.com/api-reference/trusted-agent-protocol) lists these two routes by method, path and name, and doesn't publish their request fields, response fields or statuses. Visa CLI calls neither, so using them takes authorized VARS access.

- **Get agents by TRID, `GET /vars/v1/agents`.** A token-requestor lookup, so don't assume it lists every agent. The query parameter's name, the headers, the result shape, pagination and status codes aren't public.
- **Agents bulk onboarding, `POST /vars/v1/agents/batch`.** The batch format, item limits, partial success, idempotency and schemas aren't public. Visa CLI registers one agent at a time.
