---
title: "Get Workspace"
method: GET
path: "/workspaces"
tags: ["Workspaces"]
---

# Get Workspace

`GET /workspaces`

Get workspace details.

Returns details about the workspace associated with the user's session.

Returns:
    Workspace: The details of the workspace.

Raises:
    HTTPException: If the user does not have permission to perform this action.

## Response `200`

Successful Response

- Workspace[]
  - `id` string, nullable
  - `name` string, required
  - `description` string, nullable
  - `type` string, nullable, required

---

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