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

# List Collection IDs

> Returns a flat list of all memory collection IDs accessible by the authenticated user



## OpenAPI

````yaml api-reference/tess-public-api.openapi.json GET /memory-collections/ids
openapi: 3.0.0
info:
  title: Tess API
  version: '0.1'
servers:
  - url: https://api.tess.im
security: []
paths:
  /memory-collections/ids:
    get:
      tags:
        - Memory Collections
      summary: Get all collection IDs
      description: >-
        Returns a flat list of all memory collection IDs accessible by the
        authenticated user
      operationId: getMemoryCollectionIds
      parameters:
        - name: search
          in: query
          description: Search term to filter collections by name
          required: false
          schema:
            type: string
        - name: x-workspace-id
          in: header
          description: >-
            ID of the workspace. If not provided, the user's selected workspace
            will be used.
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: success
                  ids:
                    type: array
                    items:
                      type: integer
                      example: 1
                type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Unauthenticated
                type: object
      security:
        - token: []
components:
  securitySchemes:
    token:
      type: http
      bearerFormat: Bearer
      scheme: bearer

````

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