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

> List Agent Vault delegations with the Python SDK.

`client.agent_vault.delegations.list()` lists the [delegations](https://infisical.com/docs/documentation/platform/agent-vault/sessions-on-behalf-of-users.md) in an Agent Vault project. 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

**project\_id** `str` *required*

The ID of the [Agent Vault project](https://infisical.com/docs/documentation/platform/agent-vault/projects.md#find-the-project-id) to list delegations from.

**machine\_identity\_ids** `List[str]`

The IDs of the machine identities whose delegations to list (up to 100).

**limit** `int`

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

**offset** `int`

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

## Returns

**response** `ListAgentVaultDelegationsResponse`

The delegations in `delegations`, and the total number of matching delegations in `totalCount` (each delegation's `missingAccessBundles` is `None`; call `get` for it).

```python Basic theme={"dark"}
response = client.agent_vault.delegations.list(project_id="<project-id>")
```

```python One machine identity theme={"dark"}
response = client.agent_vault.delegations.list(
    project_id="<project-id>",
    machine_identity_ids=["<machine-identity-id>"],
    limit=100,
    offset=0,
)
```

```json Response theme={"dark"}
{
  "delegations": [
    {
      "machineIdentity": {
        "id": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
        "name": "deploy-bot"
      },
      "scope": "selected",
      "users": [
        {
          "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
          "username": "jsmith@example.com",
          "email": "jsmith@example.com",
          "firstName": "Jo",
          "lastName": "Smith",
          "addedAt": "2026-11-20T10:00:00.000Z",
          "missingAccessBundles": null
        }
      ],
      "groups": [],
      "missingAccessBundles": null,
      "createdAt": "2026-11-20T10:00:00.000Z",
      "updatedAt": "2026-11-20T10:00:00.000Z"
    }
  ],
  "totalCount": 1
}
```


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