> ## 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 grantees

> List who an Agent Vault access bundle is granted to with the Python SDK.

`client.agent_vault.access_bundles.list_grantees()` lists the users, machine identities, and groups that an access bundle is granted to. 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

**access\_bundle\_id** `str` *required*

The ID of the access bundle.

**actor\_type** `Union[AgentVaultMemberType, str]`

`AgentVaultMemberType.USER` (`"user"`), `AgentVaultMemberType.MACHINE_IDENTITY` (`"machineIdentity"`), or `AgentVaultMemberType.GROUP` (`"group"`), to list only that kind of grantee (defaults to listing all three).

**search** `str`

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

**limit** `int`

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

**offset** `int`

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

## Returns

**response** `ListAgentVaultGranteesResponse`

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

```python Basic theme={"dark"}
response = client.agent_vault.access_bundles.list_grantees(
    access_bundle_id="<access-bundle-id>",
)
```

```python Users only theme={"dark"}
from infisical_sdk import AgentVaultMemberType

response = client.agent_vault.access_bundles.list_grantees(
    access_bundle_id="<access-bundle-id>",
    actor_type=AgentVaultMemberType.USER,
    search="jsmith",
    limit=20,
    offset=0,
)
```

```json Response theme={"dark"}
{
  "members": [
    {
      "type": "user",
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "username": "jsmith@example.com",
      "email": "jsmith@example.com",
      "firstName": "Jo",
      "lastName": "Smith",
      "isOrgMembershipPending": false,
      "grantedAt": "2026-11-18T14:30:00.000Z"
    },
    {
      "type": "group",
      "id": "9f8e7d6c-5b4a-4392-8170-6f5e4d3c2b1a",
      "name": "platform-team",
      "grantedAt": "2026-11-19T08:12:45.000Z"
    }
  ],
  "totalCount": 2
}
```


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