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

# List scope memories

> Returns a page of the scope’s memories (up to 1000 total). Pass `nextPageToken` as `pageToken` to fetch the next page. Optional `userId` filters to one end user.

**Requires:** `scopes:read`



## OpenAPI

````yaml https://api.getmodus.com/openapi.json get /api/v1/scopes/{id}/memories
openapi: 3.0.3
info:
  title: Modus Public API
  version: 1.0.0
servers: []
security:
  - bearerAuth: []
tags:
  - name: Scopes
    description: Create, configure, deploy, and manage scopes.
  - name: Scopes · Conversations
    description: Read scope conversation threads.
  - name: Scopes · Supervision
    description: Scope supervision sub-resource.
  - name: Scopes · Memories
    description: Long-term memory stored per scope.
  - name: Scopes · Chat
    description: Chat with a published scope.
  - name: Scopes · Context
    description: Compose a scope’s context without an LLM call.
  - name: Modus · Chat
    description: Chat with Modus — your org-wide assistant.
  - name: Modus · Conversations
    description: Read Modus and cross-scope conversation threads.
  - name: Modus · Context
    description: Compose full-environment context without an LLM call.
  - name: Workflows
    description: Create, configure, deploy, and manage workflows.
  - name: Workflows · Runs
    description: Inspect workflow run history.
  - name: Workflows · Interfaces
    description: Slack / MCP / Teams interface management.
  - name: Connections
    description: Read connected integrations.
  - name: Tools
    description: Catalog of tools/integrations a scope can select in its toolset.
  - name: Suggestions
    description: Approved suggested questions and first-party suggestion usage events.
  - name: Context
    description: Create and manage organization context items.
  - name: Usage
    description: Organization LLM usage reporting.
  - name: Users
    description: Organization and membership management.
  - name: Runs · Streaming
    description: 'Run lifecycle: stream, poll, resume, interrupt, and cancel executions.'
  - name: Scopes · Runs
    description: Run a published or draft scope.
  - name: Modus · Runs
    description: Run the Modus home agent.
paths:
  /api/v1/scopes/{id}/memories:
    get:
      tags:
        - Scopes · Memories
      summary: List scope memories
      description: >-
        Returns a page of the scope’s memories (up to 1000 total). Pass
        `nextPageToken` as `pageToken` to fetch the next page. Optional `userId`
        filters to one end user.


        **Requires:** `scopes:read`
      operationId: ScopeMemoriesController_list
      parameters:
        - name: id
          required: true
          in: path
          description: Numeric scope id.
          schema:
            example: 42
            type: number
        - name: pageToken
          required: false
          in: query
          description: >-
            Opaque page token from a previous response's `nextPageToken`. Omit
            for the first page.
          schema:
            example: eyJvZmZzZXQiOjAsInBhZ2VTaXplIjoyNX0
            type: string
        - name: pageSize
          required: false
          in: query
          description: >-
            Items per page. Defaults to 100 when no pagination params are sent
            (legacy); otherwise 25, clamped to 100.
          schema:
            minimum: 1
            maximum: 100
            example: 100
            type: number
        - name: userId
          required: false
          in: query
          description: Narrow results to memories tagged with this end-user id.
          schema:
            example: user_clerk_X
            type: string
        - name: limit
          required: false
          in: query
          deprecated: true
          description: >-
            Deprecated alias for `pageSize` (legacy default was 100). Use
            `pageSize`.
          schema:
            minimum: 1
            maximum: 1000
            example: 100
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListMemoriesResponseDto'
        '400':
          description: >-
            Malformed request — invalid query parameters or request body (`code:
            BAD_REQUEST`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: BAD_REQUEST
                  status: INVALID_ARGUMENT
                  message: Invalid value for query parameter `pageSize`.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        '401':
          description: 'Missing, invalid, or expired access token (`code: UNAUTHORIZED`).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: UNAUTHORIZED
                  status: UNAUTHENTICATED
                  message: Missing or invalid access token.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        '403':
          description: >-
            Authenticated, but the token lacks a required scope (`code:
            FORBIDDEN`). The missing scopes are listed in `info`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: FORBIDDEN
                  status: PERMISSION_DENIED
                  message: Missing required scope(s) for this operation.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
                  info:
                    missing:
                      - <required-scope>
        '404':
          description: >-
            The resource does not exist, or you do not have access to it (`code:
            NOT_FOUND`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: NOT_FOUND
                  status: NOT_FOUND
                  message: Resource not found.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        '500':
          description: 'An unexpected server error occurred (`code: INTERNAL_ERROR`).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
              example:
                error:
                  code: INTERNAL_ERROR
                  status: INTERNAL
                  message: An unexpected error occurred.
                  requestId: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
      security:
        - bearerAuth: []
      servers:
        - url: https://api.getmodus.com
components:
  schemas:
    ListMemoriesResponseDto:
      type: object
      properties:
        memories:
          description: Memories belonging to the scope.
          type: array
          items:
            $ref: '#/components/schemas/MemoryDto'
        nextPageToken:
          type: string
          nullable: true
          description: >-
            Opaque token for the next page; `null` when this was the last page.
            Pass as `pageToken` on the next request.
          example: eyJvZmZzZXQiOjI1LCJwYWdlU2l6ZSI6MjV9
      required:
        - memories
        - nextPageToken
    ErrorResponseDto:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorEnvelopeDto'
      required:
        - error
    MemoryDto:
      type: object
      properties:
        id:
          type: string
          description: Opaque memory id.
          example: mem_01HRQX...ABC
        memory:
          type: string
          description: The memory text.
          example: User prefers concise summaries with bullet points.
        hash:
          type: string
          description: Content hash, useful for de-duplication.
        metadata:
          type: object
          additionalProperties: true
          description: Opaque metadata bag — caller-supplied tags stored with the memory.
          example:
            source: agent_run_42
            topic: preferences
        createdAt:
          type: string
          description: ISO-8601 creation timestamp.
          example: '2026-05-01T10:00:00.000Z'
        updatedAt:
          type: string
          description: ISO-8601 last-update timestamp.
          example: '2026-05-01T10:00:00.000Z'
      required:
        - id
        - memory
    ErrorEnvelopeDto:
      type: object
      properties:
        code:
          description: Modus-specific machine code.
          allOf:
            - $ref: '#/components/schemas/ApiErrorCode'
        status:
          description: Canonical status string for the error.
          allOf:
            - $ref: '#/components/schemas/ApiErrorStatus'
        message:
          type: string
          example: Skill was not found or you lack permission.
        requestId:
          type: string
          example: req_01HQ7K8ABCDEFGHIJKLMNOPQRS
        info:
          type: object
          description: >-
            Optional domain-specific context. Shape varies per endpoint — see
            the operation's error response examples.
          additionalProperties: true
          example:
            skillId: sk_abc123
      required:
        - code
        - status
        - message
        - requestId
    ApiErrorCode:
      type: string
      enum:
        - VALIDATION
        - BAD_REQUEST
        - UNAUTHORIZED
        - FORBIDDEN
        - NOT_FOUND
        - CONFLICT
        - RATE_LIMITED
        - INTERNAL_ERROR
      description: Modus-specific machine code.
    ApiErrorStatus:
      type: string
      enum:
        - INVALID_ARGUMENT
        - UNAUTHENTICATED
        - PERMISSION_DENIED
        - NOT_FOUND
        - ALREADY_EXISTS
        - RESOURCE_EXHAUSTED
        - INTERNAL
      description: Canonical status string for the error.
  securitySchemes:
    bearerAuth:
      scheme: bearer
      bearerFormat: Modus PAT (modus_<orgUuid>_<prefix>_<secret>) or OAuth 2.1 access token
      type: http
      description: >-
        A Modus personal access token (`modus_<orgUuid>_<prefix>_<secret>`) or
        an OAuth 2.1 access token, sent as `Authorization: Bearer <token>`.

````