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

# Preview Dream Scope

> A no-write preview of the scope Dream synthesis would analyze for a project.



## OpenAPI

````yaml post /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/preview/
openapi: 3.0.1
info:
  title: Mem0 API Docs
  description: mem0.ai API Docs
  contact:
    email: support@mem0.ai
  license:
    name: Apache 2.0
  version: v1
servers:
  - url: https://api.mem0.ai/
security:
  - ApiKeyAuth: []
paths:
  /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/preview/:
    post:
      tags:
        - dream
      summary: Preview Dream scope
      description: >-
        A no-write preview of the scope Dream synthesis would analyze for the
        project (a capped sample plus the count of users with enough memories to
        benefit). Never runs the LLM and never mutates anything.
      operationId: dream_preview
      parameters:
        - name: org_id
          in: path
          required: true
          description: Unique identifier of the organization.
          schema:
            type: string
        - name: project_id
          in: path
          required: true
          description: Unique identifier of the project.
          schema:
            type: string
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  active_total:
                    type: integer
                    description: Total active memories in the project.
                  scanned:
                    type: integer
                    description: >-
                      How many recent memories the preview aggregated over
                      (capped).
                  cap:
                    type: integer
                    description: The scan cap applied.
                  eligible_users:
                    type: integer
                    description: Users with enough memories to benefit from synthesis.
                  note:
                    type: string
                    description: Human-readable note about the preview scope.
        '403':
          description: >-
            Preview not available on the current plan (`upgrade_required:
            true`).
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key authentication. Prefix your Mem0 API key with 'Token '. Example:
        'Token your_api_key'

````