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

# Get workspace detail

`GET /api/workspaces/{workspace}`

## Request

- Base URL: `https://www.audioscrape.com`
- URL: `https://www.audioscrape.com/api/workspaces/{workspace}`
- Auth: HTTP bearer

Returns one of your workspaces + ALL of its datasets regardless of visibility — including private datasets that never appear under `/api/libraries`. `{workspace}` accepts a slug or a numeric ID. Members only: a workspace you don't belong to returns 404.

## Path parameters

- `workspace` string, required

## Response `200`

Workspace + all its datasets (private included)

- WorkspaceDetail
  - `datasets` DatasetSummary[], required: ALL of the workspace's datasets — `public`, `workspace`, and `private`.
    - `description` string, nullable
    - `episode_count` integer, required
    - `id` integer, required
    - `name` string, required
    - `podcast_count` integer, required
    - `slug` string, required
    - `visibility` string, required: `public`, `workspace`, or `private`.
  - `description` string, nullable
  - `id` integer, required
  - `member_count` integer, required
  - `name` string, required
  - `role` string, required: The calling user's role in this workspace: `owner`, `admin`, or `member`.
  - `slug` string, required

## Other responses

- `401`: Missing or invalid API key
- `402`: No active subscription (paid endpoint requires a subscription)
- `403`: Endpoint not available on the caller's plan
- `404`: Workspace not found, or caller is not a member
- `429`: Monthly quota exhausted (response includes `usage: { current, limit }`)

---

[API](https://skmtc.dev/audioscrape/apis/audioscrape-rest-api.md) · [All operations](https://skmtc.dev/audioscrape/apis/audioscrape-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/audioscrape/apis/audioscrape-rest-api/revisions/29b5788227cf?raw)
