Skip to main content
client.agent_vault.access_bundles.list() lists the access bundles in an Agent Vault project. If the client logs in as a member, list returns only the access bundles granted to the member. If you pass on_behalf_of_user_email or on_behalf_of_user_id, the client must log in as a machine identity with a delegation that covers the user. list then returns only the access bundles that both the user and the machine identity can use, and requires_setup and servicesRequiringSetup refer to the user’s personal values. You can’t combine on_behalf_of_user_email or on_behalf_of_user_id with granted.

Parameters

str
required
The ID of the Agent Vault project to list access bundles from.
Text to find in access bundle names and descriptions.
bool
True to list only the access bundles with services that still need your personal values, or False to list the rest (defaults to listing both).
bool
True to list only the access bundles granted to you directly or through a group, or False to list the ones you can use only because you’re an admin (defaults to listing both).
str
The email address of a user, to list the access bundles that a session on behalf of the user could use (raises a ValueError if you also pass on_behalf_of_user_id).
str
The ID of a user, to list the access bundles that a session on behalf of the user could use (raises a ValueError if you also pass on_behalf_of_user_email).
str
What to sort the access bundles by, name, serviceCount, or createdAt (defaults to createdAt).
str
The direction to sort in, asc or desc (defaults to desc).
int
The maximum number of access bundles to return, from 1 to 100 (defaults to 20).
int
The number of access bundles to skip (defaults to 0).

Returns

ListAgentVaultAccessBundlesResponse
The access bundles in accessBundles, and the total number of matching access bundles in totalCount (in each access bundle, servicesRequiringSetup lists the services that still need your personal values).