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

# List workspaces

> All workspaces this API key has access to.

## Query

<ParamField query="limit" type="integer" default="20" />

<ParamField query="starting_after" type="string" />

## Examples

<CodeGroup>
  ```ts TypeScript theme={null}
  const page = await hk.workspaces.list();
  ```

  ```php PHP theme={null}
  $page = $hk->workspaces->list();
  ```
</CodeGroup>

## Returns

A paginated list of [Workspace](/api-reference/workspaces/object) objects.
