> ## 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.

# List workspaces

> List workspaces available to this client. Use a returned workspaceId, including Default, for every subsequent action.

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.

List workspaces available to this client. Use a returned workspaceId, including Default, for every subsequent action.

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 [`list_workspaces`](https://www.posted.cc/mcp-reference/list_workspaces) 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
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:
    get:
      tags:
        - Workspaces
      summary: List workspaces
      description: >-
        List workspaces available to this client. Use a returned workspaceId,
        including Default, for every subsequent action.


        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
      responses:
        '200':
          description: >-
            Successful response. Examples are illustrative; field values vary by
            record.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      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:
                items:
                  - 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

- [list_workspaces](https://www.posted.cc/mcp-reference/list_workspaces.md)
- [list_workspace_members](https://www.posted.cc/mcp-reference/list_workspace_members.md)
- [List workspace members](https://www.posted.cc/api-reference/get_api_workspaces_by_workspaceId_members.md)
- [list_connections](https://www.posted.cc/mcp-reference/list_connections.md)
- [list_providers](https://www.posted.cc/mcp-reference/list_providers.md)


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