---
title: "Get a workspace"
method: GET
path: "/workspaces/{workspace}"
tags: ["Workspaces"]
---

# Get a workspace

`GET /workspaces/{workspace}`

Returns the requested workspace.

## Response `200`

The workspace.

- Workspace — A Bitbucket workspace. Workspaces are used to organize repositories.
  - `type` string, required
  - `links` object
    - `avatar` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
    - `html` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
    - `members` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
    - `owners` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
    - `projects` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
    - `repositories` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
    - `snippets` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
    - `self` object — A link to a resource related to this object.
      - `href` string, uri
      - `name` string
  - `uuid` string — The workspace's immutable id.
  - `name` string — The name of the workspace.
  - `slug` string — The short label that identifies this workspace.
  - `is_private` boolean — Indicates whether the workspace is publicly accessible, or whether it is private to the members and consequently only visible to members.
  - `is_privacy_enforced` boolean — Indicates whether the workspace enforces private content, or whether it allows public content.
  - `forking_mode` 'allow_forks' | 'internal_only' — Controls the rules for forking repositories within this workspace. * **allow_forks**: unrestricted forking * **internal_only**: prevents forking of private repositories outside the workspace or to public repositories
  - `created_on` string, date-time
  - `updated_on` string, date-time

## Other responses

- `404` — If no workspace exists for the specified name or UUID.

---

[API](https://skmtc.net/bitbucket/apis/bitbucket-api.md) · [All operations](https://skmtc.net/bitbucket/apis/bitbucket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitbucket/bitbucket-api/versions/7e9be973015d/schema)
