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

# List Spaces

> List memory spaces in the user's active organization.

Pass ``?name=`` to resolve a space by its human-readable name (useful for
LLM/plugin flows that have a name but not the UUID).



## OpenAPI

````yaml https://api.crosmos.dev/openapi.json get /api/v1/spaces
openapi: 3.1.0
info:
  title: Crosmos Memory API
  description: Agent memory system with hybrid retrieval
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/spaces:
    get:
      tags:
        - spaces
      summary: List Spaces
      description: >-
        List memory spaces in the user's active organization.


        Pass ``?name=`` to resolve a space by its human-readable name (useful
        for

        LLM/plugin flows that have a name but not the UUID).
      operationId: list_spaces_api_v1_spaces_get
      parameters:
        - name: name
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Exact-match filter on space name within the active org. Returns 0
              or 1 spaces (names are unique per org).
            title: Name
          description: >-
            Exact-match filter on space name within the active org. Returns 0 or
            1 spaces (names are unique per org).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SpaceListResponse:
      properties:
        spaces:
          items:
            $ref: '#/components/schemas/SpaceResponse'
          type: array
          title: Spaces
        total:
          type: integer
          title: Total
      type: object
      required:
        - spaces
        - total
      title: SpaceListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SpaceResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        org_id:
          type: string
          format: uuid
          title: Org Id
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - org_id
        - name
        - description
        - meta
        - created_at
        - updated_at
      title: SpaceResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      description: JWT access token or API key (csk_…)
      scheme: bearer

````