> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List available grantees

> List who an Agent Vault access bundle can still be granted to with the Node.js SDK.

`client.agentVault().accessBundles.listAvailableGrantees()` lists the members of the Agent Vault project that an access bundle isn't granted to yet. The client must log in as a user or machine identity with the **Admin** role in the [Agent Vault project](https://infisical.com/docs/documentation/platform/agent-vault/access-control#product-membership).

## Parameters

**accessBundleId** `string` *required*

The ID of the access bundle.

**options** `object`

**properties**

**actorType** `AgentVaultMemberType`

`AgentVaultMemberType.User` (`"user"`), `AgentVaultMemberType.MachineIdentity` (`"machineIdentity"`), or `AgentVaultMemberType.Group` (`"group"`), to list only that kind of member (defaults to listing all three).

**search** `string`

Text to find in names, usernames, and email addresses.

**limit** `number`

The maximum number of members to return, from 1 to 100 (defaults to `20`).

**offset** `number`

The number of members to skip (defaults to `0`).

## Returns

**result** `ListAgentVaultMembersResponse`

The members in `members`, and the total number of matching members in `totalCount`.

```typescript Basic theme={"dark"}
const { members, totalCount } = await client.agentVault().accessBundles.listAvailableGrantees("<access-bundle-id>");
```

```typescript Users only theme={"dark"}
import { AgentVaultMemberType } from "@infisical/sdk";

const { members, totalCount } = await client.agentVault().accessBundles.listAvailableGrantees("<access-bundle-id>", {
  actorType: AgentVaultMemberType.User,
  search: "jsmith",
  limit: 20,
  offset: 0
});
```

```json Response theme={"dark"}
{
  "members": [
    {
      "type": "machineIdentity",
      "id": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
      "name": "deploy-bot",
      "isManagedByAgentVault": false,
      "orgId": "2c1b0a9f-8e7d-4c6b-5a4f-3e2d1c0b9a8f",
      "role": "member",
      "isActive": true,
      "addedAt": "2026-11-10T16:05:00.000Z"
    }
  ],
  "totalCount": 1
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.