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

# Export mem0 sandbox data

> Export all data from the sandbox in the same format used for initialization.



## OpenAPI

````yaml get /sandbox/mem0/{sandbox_id}/dump
openapi: 3.1.0
info:
  title: Klavis AI (https://www.klavis.ai)
  description: Klavis AI - Open Source MCP Integrations for AI Applications
  version: 0.1.0
servers:
  - url: https://api.klavis.ai
    description: US Production server
  - url: https://api.eu.klavis.ai
    description: EU Production server
security: []
paths:
  /sandbox/mem0/{sandbox_id}/dump:
    get:
      tags:
        - sandbox
      summary: Export mem0 sandbox data
      description: >-
        Export all data from the sandbox in the same format used for
        initialization.
      operationId: dump_sandbox_sandbox_mem0__sandbox_id__dump_get
      parameters:
        - name: sandbox_id
          in: path
          required: true
          schema:
            type: string
            description: The unique sandbox identifier
            title: Sandbox Id
          description: The unique sandbox identifier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DumpSandboxResponse_Mem0Data_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DumpSandboxResponse_Mem0Data_:
      properties:
        sandbox_id:
          type: string
          title: Sandbox Id
          description: Sandbox identifier
        server_name:
          $ref: '#/components/schemas/SandboxMCPServer'
          description: MCP server type
        dumped_at:
          type: string
          format: date-time
          title: Dumped At
          description: Timestamp of dump
        data:
          $ref: '#/components/schemas/Mem0Data-Output'
          description: Dumped sandbox data in server-specific format
      type: object
      required:
        - sandbox_id
        - server_name
        - dumped_at
        - data
      title: DumpSandboxResponse[Mem0Data]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SandboxMCPServer:
      type: string
      enum:
        - jira
        - github
        - salesforce
        - hubspot
        - notion
        - airtable
        - linear
        - asana
        - google_sheets
        - google_drive
        - google_docs
        - gmail
        - google_calendar
        - google_forms
        - clickup
        - close
        - monday
        - motion
        - onedrive
        - microsoft_teams
        - outlook_mail
        - cal.com
        - quickbooks
        - moneybird
        - dropbox
        - shopify
        - woocommerce
        - outlook_calendar
        - resend
        - wordpress
        - mem0
        - supabase
        - slack
        - confluence
        - discord
        - snowflake
        - postgres
        - mongodb
        - youtube
        - googleworkspaceatlas
        - huggingface
        - mock_notion
        - arxiv_latex
        - calculator
        - clinicaltrialsgov
        - fetch
        - met_museum
        - open_library
        - osm
        - pubmed
        - us_weather
        - duckduckgo
        - whois
        - wikipedia
        - scholarly
        - howtocook
        - yahoo_finance
        - '12306'
        - youtube_transcript
        - weather
        - twelvedata
        - national_parks
        - lara_translate
        - e2b
        - context7
        - alchemy
        - weights_and_biases
        - oxylabs
        - google_maps
        - brave_search
        - exa
        - serper
      title: SandboxMCPServer
      description: Supported MCP servers for sandboxing
    Mem0Data-Output:
      properties:
        memory_list:
          items:
            $ref: '#/components/schemas/Mem0Memory'
          type: array
          title: Memory List
          description: List of memories
      type: object
      title: Mem0Data
      description: Complete Mem0 sandbox data structure
    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
    Mem0Memory:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
          description: Memory ID (read-only, set by Mem0)
        content_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Text
          description: Memory content (returned from API)
        message_list:
          anyOf:
            - items:
                $ref: '#/components/schemas/Mem0Message'
              type: array
            - type: 'null'
          title: Message List
          description: Array of message objects representing the content
        agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Id
          description: Agent ID
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
          description: User ID
        app_id:
          anyOf:
            - type: string
            - type: 'null'
          title: App Id
          description: App ID
        run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Run Id
          description: Run ID
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
          description: Additional metadata
        include_preferences:
          anyOf:
            - type: string
            - type: 'null'
          title: Include Preferences
          description: String to include specific preferences in the memory
        exclude_preferences:
          anyOf:
            - type: string
            - type: 'null'
          title: Exclude Preferences
          description: String to exclude specific preferences in the memory
        auto_infer:
          type: boolean
          title: Auto Infer
          description: Whether to infer memories or directly store messages
          default: true
        response_format:
          anyOf:
            - type: string
            - type: 'null'
          title: Response Format
          description: Response format structure (v1.0 or v1.1)
          default: v1.1
        category_definitions:
          anyOf:
            - items:
                additionalProperties:
                  type: string
                type: object
              type: array
            - type: 'null'
          title: Category Definitions
          description: List of custom categories with name and description
        processing_instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Processing Instructions
          description: Project-specific guidelines for handling memories
        read_only:
          type: boolean
          title: Read Only
          description: Whether the memory is immutable
          default: false
        background_processing:
          type: boolean
          title: Background Processing
          description: Whether to add memory asynchronously
          default: true
        timestamp:
          anyOf:
            - type: integer
            - type: 'null'
          title: Timestamp
          description: Unix timestamp of the memory
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
          description: Creation timestamp
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
          description: Last update timestamp
      type: object
      title: Mem0Memory
      description: Mem0 Memory object
    Mem0Message:
      properties:
        role:
          type: string
          title: Role
          description: Role of the message sender (user or assistant)
        content:
          type: string
          title: Content
          description: Content of the message
      type: object
      required:
        - role
        - content
      title: Mem0Message
      description: Message object for memory
  securitySchemes:
    HTTPBearer:
      type: http
      description: Your Klavis AI API key.
      scheme: bearer
      x-fern-bearer:
        name: api_key

````