# list_drives

## nominal.experimental.drives.list_drives(client, *, include_archived=False, workspace_rid=None)

List the drives in a workspace.

Parameters:
:   - **client** ([*NominalClient*](https://dev.nominal.io/python/ref/generated/nominal.core.NominalClient.md#nominal.core.NominalClient "nominal.core.client.NominalClient"))

      Client providing authentication and workspace configuration.
    - **include_archived** ([*bool*](https://docs.python.org/3/builtins/functions.html#bool "(in Python v3.15)"))

      Include archived drives in the results.
    - **workspace_rid** ([*str*](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)") *|* *None*)

      Workspace to list. Defaults to the client’s workspace.

Returns:
:   All drives in the workspace, with every page collected.

Return type:
:   [*Sequence*](https://docs.python.org/3/library/typing.html#typing.Sequence "(in Python v3.15)")[[*Drive*](https://dev.nominal.io/python/ref/generated/nominal.experimental.drives.Drive.md#nominal.experimental.drives.Drive "nominal.experimental.drives.drive.Drive")]
