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

# List space collections

> The caller's own groups for the spaces sidebar. A user who has saved none gets computed defaults (`is_default: true`).



## OpenAPI

````yaml /api-reference/endpoint/workspaces/openapi.json get /workspaces/space-collections
openapi: 3.1.0
info:
  title: Workspaces API
  version: 1.1.0
  description: >-
    Spaces, tasks, task actions, comments, folders and the task-sync routes.
    Task-sync routes also accept an integration token (`oauth2`); every other
    route needs a user session or API key.
servers:
  - url: https://api.quiva.ai
    description: Production API server
security:
  - bearerAuth: []
  - apiKeyAuth: []
tags:
  - name: Tasks
  - name: Files
  - name: Folders
  - name: Task Schedules
  - name: Distribution
paths:
  /workspaces/space-collections:
    get:
      tags:
        - Space Collections
      summary: List space collections
      description: >-
        The caller's own groups for the spaces sidebar. A user who has saved
        none gets computed defaults (`is_default: true`).
      operationId: listSpaceCollections
      responses:
        '200':
          description: The user's collections
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceCollectionsResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    SpaceCollectionsResponse:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/SpaceCollection'
        results_total:
          type: integer
        is_default:
          type: boolean
          description: True when the user has saved nothing and the list is computed.
        collection:
          $ref: '#/components/schemas/SpaceCollection'
          description: The collection a create or update wrote.
    SpaceCollection:
      type: object
      required:
        - name
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
          maxLength: 120
        description:
          type: string
          maxLength: 500
        icon:
          type: object
          properties:
            name:
              type: string
              maxLength: 64
            color:
              type: string
              description: Hex colour such as `#2563EB`.
        space_ids:
          type: array
          items:
            type: string
          description: >-
            Spaces in the collection, in display order. A space sits in one
            collection; adding it here removes it from the others.
        catch_all:
          type: boolean
          description: Receives every visible space not placed elsewhere.
        created_at:
          type: string
        updated_at:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.