> ## Documentation Index
> Fetch the complete documentation index at: https://docs.topk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List collections

You can list all collections in a project by calling [`client.collections().list()`](/sdk/topk-py#list):

<CodeGroup>
  ```python Python theme={null}
  collections = client.collections().list()
  ```

  ```typescript Javascript theme={null}
  const collections = await client.collections().list();
  ```
</CodeGroup>

The `list()` function returns a list of `Collection` objects:

<CodeGroup>
  ```python Python theme={null}
  for collection in collections:
      print(f"Collection name: {collection.name}")
      print(f"Organization ID: {collection.org_id}")
      print(f"Project ID: {collection.project_id}")
      print(f"Region: {collection.region}")
      print(f"Schema: {collection.schema}")
  ```

  ```js Javascript theme={null}
  for (const collection of collections) {
    console.log(`Collection name: ${collection.name}`);
    console.log(`Organization ID: ${collection.orgId}`);
    console.log(`Project ID: ${collection.projectId}`);
    console.log(`Region: ${collection.region}`);
    console.log(`Schema: ${collection.schema}`);
  }
  ```
</CodeGroup>
