> ## 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 all team workspaces

> All team administrators can view this directory, including workspaces they cannot access.

A signed-in human administrator is required. API keys and MCP credentials cannot replace that session. Sensitive operations can also require recent authentication.

All team administrators can view this directory, including workspaces they cannot access.

[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/directory
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/directory:
    get:
      tags:
        - Workspaces
      summary: List all team workspaces
      description: >-
        All team administrators can view this directory, including workspaces
        they cannot access.


        A signed-in human administrator is required. API keys and MCP
        credentials cannot replace that session. Sensitive operations can also
        require recent authentication.
      operationId: get_api_workspaces_directory
      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
                        memberCount:
                          type: integer
                      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'
                    memberCount: 1
        default:
          description: >-
            Request failure. Inspect code, message and requestId; respect
            Retry-After on HTTP 429.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - 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:
    sessionCookie:
      type: apiKey
      in: cookie
      name: posted_session
      description: >-
        Signed-in human browser session; mutation requests also need the exact
        UI Origin

````

## Related topics

- [Workspaces](https://www.posted.cc/workspaces.md)
- [list_workspaces](https://www.posted.cc/mcp-reference/list_workspaces.md)
- [List workspaces](https://www.posted.cc/api-reference/get_api_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)


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