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

# List workspaces

> Get all workspaces the authenticated user is a member of



## OpenAPI

````yaml /swagger.json get /v1/workspaces
openapi: 3.0.1
info:
  title: Scute API
  version: v1
  description: API for managing users in Scute applications
servers:
  - url: https://{defaultHost}
    variables:
      defaultHost:
        default: api.scute.io
  - url: http://localhost:3333
    description: Development server
security:
  - apiSecret: []
    userAccess: []
paths:
  /v1/workspaces:
    get:
      tags:
        - Workspaces
      summary: List workspaces
      description: Get all workspaces the authenticated user is a member of
      operationId: listWorkspaces
      responses:
        '200':
          description: successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  workspaces:
                    type: array
                    items:
                      $ref: '#/components/schemas/Workspace'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
      security:
        - userAccess: []
components:
  schemas:
    Workspace:
      type: object
      properties:
        id:
          type: string
          description: Workspace ID
          example: ws_123
        name:
          type: string
          description: Workspace name
          example: Acme Corp
        slug:
          type: string
          nullable: true
          description: Workspace URL slug
          example: acme-corp
        personal:
          type: boolean
          description: Whether this is a personal workspace
          example: false
        membership:
          type: object
          nullable: true
          description: Current user's membership in this workspace
          properties:
            role:
              type: string
              enum:
                - owner
                - admin
                - member
              description: User's role
              example: owner
            created_at:
              type: string
              format: date-time
              description: Membership creation timestamp
        created_at:
          type: string
          format: date-time
          description: Workspace creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Workspace last update timestamp
        settings:
          type: object
          description: Workspace settings
          example:
            onboarding:
              fullName: true
              companyName: false
        is_pro:
          type: boolean
          description: Whether workspace has pro plan
          example: false
        public_signup:
          type: boolean
          description: Whether public signup is enabled
          example: false
        user_info_requirement:
          type: string
          enum:
            - none
            - email
            - full
          description: User info requirement level
          example: email
        logo_url:
          type: string
          nullable: true
          description: Workspace logo URL
          example: https://example.com/logo.png
      required:
        - id
        - name
        - personal
        - created_at
        - updated_at
        - is_pro
        - public_signup
        - user_info_requirement
  securitySchemes:
    apiSecret:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API Secret token
    userAccess:
      type: apiKey
      name: X-Authorization
      in: header
      description: User Access token

````