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

# List Workspaces

> List every workspace the current user can reach (personal + joined).

Provisions the caller's personal workspace on first call, so a brand
new user always gets at least one entry. Baseline governance policies are
seeded by the workspace-creation hook (see ``get_workspace_service``).



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workspaces
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/workspaces:
    get:
      tags:
        - v1
        - protected
        - workspaces
      summary: List Workspaces
      description: >-
        List every workspace the current user can reach (personal + joined).


        Provisions the caller's personal workspace on first call, so a brand

        new user always gets at least one entry. Baseline governance policies
        are

        seeded by the workspace-creation hook (see ``get_workspace_service``).
      operationId: list_workspaces_v1_workspaces_get
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/WorkspaceResponse'
                title: Response List Workspaces V1 Workspaces Get
                type: array
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    WorkspaceResponse:
      properties:
        id:
          title: Id
          type: string
        name:
          title: Name
          type: string
        slug:
          title: Slug
          type: string
        type:
          title: Type
          type: string
      required:
        - id
        - slug
        - name
        - type
      title: WorkspaceResponse
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````