> ## 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.

# Retrieve a workspace

## Path parameters

<ParamField path="id" type="string" required />

## Examples

<CodeGroup>
  ```ts TypeScript theme={null}
  const ws = await hk.workspaces.retrieve("wks_123");
  ```

  ```php PHP theme={null}
  $ws = $hk->workspaces->retrieve('wks_123');
  ```
</CodeGroup>

## Returns

A [Workspace](/api-reference/workspaces/object).
