> ## Documentation Index
> Fetch the complete documentation index at: https://www.posted.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a workspace

> Read one accessible workspace.

Read access: a read-enabled personal or workspace REST API key, or a signed-in user. OAuth clients use the corresponding MCP tool through /mcp.

Read one accessible workspace.

Additional workspaces require membership. Existing team roles apply. Default is available to everyone and cannot be deleted. Only an empty additional workspace can be deleted.

MCP clients can use [`get_workspace`](https://www.posted.cc/mcp-reference/get_workspace) for this operation.

[Request conventions](https://www.posted.cc/api-reference/overview.md) · [API keys](https://www.posted.cc/api-keys.md) · [MCP connections](https://www.posted.cc/mcp-connections.md)


## OpenAPI

````yaml api-reference/openapi.json GET /api/workspaces/{workspaceId}
openapi: 3.1.0
info:
  title: Posted HTTP API
  version: 0.2.6
  description: >-
    All registered application, account, OAuth, MCP transport and health
    endpoints. Publishing and draft request schemas come from the shared runtime
    validators. Replace the example server with your installation. Documentation
    uses simple request examples and does not execute live publishing requests.
servers:
  - url: https://posted-api.example.com
security: []
paths:
  /api/workspaces/{workspaceId}:
    get:
      tags:
        - Workspaces
      summary: Get a workspace
      description: >-
        Read one accessible workspace.


        Additional workspaces require membership. Existing team roles apply.
        Default is available to everyone and cannot be deleted. Only an empty
        additional workspace can be deleted.


        Read access: a read-enabled personal or workspace REST API key, or a
        signed-in user. OAuth clients use the corresponding MCP tool through
        /mcp.
      operationId: get_api_workspaces_by_workspaceId
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: >-
            The workspaceId from the corresponding list, record or authorization
            response.
      responses:
        '200':
          description: >-
            Successful response. Examples are illustrative; field values vary by
            record.
          content:
            application/json:
              schema:
                type: object
                properties:
                  workspace:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      description:
                        type: string
                      isDefault:
                        type: boolean
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    additionalProperties: true
                additionalProperties: true
              example:
                workspace:
                  id: 55555555-5555-4555-8555-555555555555
                  name: Default
                  description: ''
                  isDefault: true
                  createdAt: '2027-01-18T09:30:00.000Z'
                  updatedAt: '2027-01-18T09:30:00.000Z'
        default:
          description: >-
            Request failure. Inspect code, message and requestId; respect
            Retry-After on HTTP 429.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
        - sessionCookie: []
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - requestId
          properties:
            code:
              type: string
            message:
              type: string
            requestId:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal or workspace Posted REST API key
    sessionCookie:
      type: apiKey
      in: cookie
      name: posted_session
      description: >-
        Signed-in human browser session; mutation requests also need the exact
        UI Origin

````

## Related topics

- [get_workspace](https://www.posted.cc/mcp-reference/get_workspace.md)
- [get_team](https://www.posted.cc/mcp-reference/get_team.md)
- [get_post](https://www.posted.cc/mcp-reference/get_post.md)
- [get_draft](https://www.posted.cc/mcp-reference/get_draft.md)
- [get_media_preview](https://www.posted.cc/mcp-reference/get_media_preview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.