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

# List spaces

> List the team spaces a workspace API key can address, sorted by name. Archived spaces are omitted. Requires a workspace key (ow_wks_live_) holding any of workspace:notes:read, workspace:notes:write, workspace:folders:read or workspace:folders:write.



## OpenAPI

````yaml /openapi.json get /spaces/list
openapi: 3.1.0
info:
  title: OpenWhispr API
  version: 1.0.0
  description: Manage notes, folders, transcriptions, and usage programmatically.
servers:
  - url: https://api.openwhispr.com/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /spaces/list:
    get:
      tags:
        - Spaces
      summary: List spaces
      description: >-
        List the team spaces a workspace API key can address, sorted by name.
        Archived spaces are omitted. Requires a workspace key (ow_wks_live_)
        holding any of workspace:notes:read, workspace:notes:write,
        workspace:folders:read or workspace:folders:write.
      operationId: listSpaces
      responses:
        '200':
          description: Spaces visible to this key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Space'
        '403':
          description: Not a workspace key, or missing the required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Space:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        slug:
          type: string
        description:
          type:
            - string
            - 'null'
        emoji:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key starting with owk_live_ (personal) or ow_wks_live_ (workspace —
        see space_id on the Notes/Folders endpoints below)

````