Skip to content

pda.list_libraries

list_libraries(
name: 'str | None' = None,
*,
labels: 'Sequence[str]' = (),
visibility: "Literal['private', 'organization', 'public'] | None" = None,
role: "Literal['owner', 'editor', 'viewer'] | None" = None,
latest: 'bool' = True,
retired: 'bool' = False,
) -> 'list[dict[str, object]]'

List versioned project libraries with optional metadata filters.

Args

  • name: Exact library name filter.
  • labels: Label filter; any overlap matches.
  • visibility: Visibility filter.
  • role: Permission role filter.
  • latests: If True, only the latest version of each library is returned.
  • retired: Whether to search retired libraries.

Returns

Library metadata list.