---
title: "Get Workspace"
method: GET
path: "/workspaces/{workspace_id}"
tags: ["workspaces"]
---

# Get Workspace

`GET /workspaces/{workspace_id}`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/workspaces/{workspace_id}`
- Auth: one of:
  - API key in cookie `fastapiusersauth`
  - HTTP bearer

Return Workflow as title, description, list of Action JSONs, adjacency list of Action IDs.

## Path parameters

- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- WorkspaceRead
  - `id` string, uuid, required
  - `name` string, required
  - `default_agent_preset_id` string, uuid, nullable
  - `settings` WorkspaceSettingsRead
    - `git_provider` 'github' | 'gitlab' | 'bitbucket' | 'bitbucket_data_center': Version control host backing a workspace sync repository.
    - `git_repo_url` string, nullable
    - `workflow_unlimited_timeout_enabled` boolean, nullable
    - `workflow_default_timeout_seconds` integer, nullable
    - `allowed_attachment_extensions` string[], nullable
    - `allowed_attachment_mime_types` string[], nullable
    - `validate_attachment_magic_number` boolean, nullable
    - `effective_allowed_attachment_extensions` string[], required: Returns workspace-specific extensions if set, otherwise system defaults.
    - `effective_allowed_attachment_mime_types` string[], required: Returns workspace-specific MIME types if set, otherwise system defaults.
  - `organization_id` string, uuid, required
  - `unsafe_disable_secret_error_withholding_allowed` boolean: Whether the organization lets this workspace's actions opt into showing original error details when secrets are in scope.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
