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

# List spaces

> List all registered spaces sorted by name.



## OpenAPI

````yaml /api-reference/openapi.json get /api/workspaces
openapi: 3.1.0
info:
  title: Friday Platform API
  description: >-
    The Friday daemon HTTP API for managing spaces, agents, sessions, and
    automations.
  version: 1.0.0
servers:
  - url: http://localhost:18080
    description: Local Friday daemon
security: []
tags:
  - name: Health
    description: Daemon health and status
  - name: Spaces
    description: Space management
  - name: Chat
    description: Conversational AI
  - name: Sessions
    description: Execution session management
  - name: Signals
    description: Trigger management
  - name: Agents
    description: Agent discovery and inspection
  - name: Artifacts
    description: File and data artifact management
  - name: Configuration
    description: Daemon configuration
paths:
  /api/workspaces:
    get:
      tags:
        - Spaces
      summary: List spaces
      description: List all registered spaces sorted by name.
      operationId: listWorkspaces
      responses:
        '200':
          description: List of spaces
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkspaceInfo'
      x-codeSamples:
        - lang: bash
          label: cURL
          source: curl http://localhost:18080/api/workspaces
components:
  schemas:
    WorkspaceInfo:
      type: object
      properties:
        id:
          type: string
          example: abc123
        name:
          type: string
          example: my-space
        description:
          type: string
          example: My first space
        status:
          type: string
          example: active
        path:
          type: string
        createdAt:
          type: string
          format: date-time
        lastSeen:
          type: string
          format: date-time

````