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

# Mem It



## OpenAPI

````yaml POST /v2/mem-it
openapi: 3.1.0
info:
  description: >-
    The external developer API exposed through api.mem.ai. This projection
    remains independent from first-party product routes.
  title: Mem Public Client API
  version: 1.0.0
servers:
  - url: https://api.mem.ai
security:
  - bearerAuth: []
tags:
  - name: deprecated
  - name: schema
  - name: sessions
  - name: session-events
  - name: mcp
  - name: notes
  - name: collections
  - name: tasks
  - name: projects
  - name: follow-ups
  - name: events
  - name: calendar
  - name: audio-recordings
  - name: CoreApi__account
  - name: CoreApi__apple-push-notifications
  - name: CoreApi__apple-transactions
  - name: CoreApi__audio-recordings
  - name: CoreApi__assistants
  - name: CoreApi__assistant-message-webhooks
  - name: CoreApi__assets
  - name: CoreApi__captured-websites
  - name: CoreApi__connected-calendars
  - name: CoreApi__convex
  - name: CoreApi__data-exports
  - name: CoreApi__email-capture
  - name: CoreApi__email-integrations
  - name: CoreApi__feature-enrollment-links
  - name: CoreApi__feature-flags
  - name: CoreApi__file-uploads
  - name: CoreApi__google-calendar-integration
  - name: CoreApi__health
  - name: CoreApi__huddles
  - name: CoreApi__link-previews
  - name: CoreApi__me-v1
  - name: CoreApi__memory
  - name: CoreApi__note-content-document-snapshots
  - name: CoreApi__notes
  - name: CoreApi__outlook-calendar-integration
  - name: CoreApi__search
  - name: CoreApi__service-info
  - name: CoreApi__session-events
  - name: CoreApi__sessions
  - name: CoreApi__shared-item-invites
  - name: CoreApi__source-artifacts
  - name: CoreApi__space-account-settings
  - name: CoreApi__stripe-billing
  - name: CoreApi__uploaded-files
  - name: CoreApi__voice
  - name: CoreApi__web-clips
  - name: CoreApi__zapier
  - name: CoreApi__auth
  - name: CoreApi__oauth2
  - name: CoreApi__oauth-discovery
  - name: CoreApi__e2e-internal
paths:
  /v2/mem-it:
    post:
      tags:
        - external
        - external-v2
      summary: Mem It
      operationId: app_src_api_routes_external_v2_mem_it_views_mem_it
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemItRequestSchema'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemItResponseSchema'
          description: OK
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageQuotaExceededPayload'
          description: Usage quota exceeded
          headers:
            Cache-Control:
              description: Prevents a quota response from being cached.
              schema:
                example: private, no-store
                type: string
            Retry-After:
              description: Seconds until the current usage quota resets.
              schema:
                minimum: 1
                type: integer
      x-codeSamples:
        - label: cURL
          lang: bash
          source: |-
            curl "https://api.mem.ai/v2/mem-it" \
                 --header "Content-Type: application/json" \
                 --header "Authorization: Bearer $MEM_API_KEY" \
                 --data '{
                     "input": "<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>",
                     "instructions": "Extract the key findings and save as a research note"
                 }'
components:
  schemas:
    MemItRequestSchema:
      properties:
        context:
          anyOf:
            - maxLength: 10000
              type: string
            - type: 'null'
          description: >-
            Additional background information that helps Mem understand how this
            input relates to your existing knowledge.


            Examples:

            • "This is related to my Project Alpha research"

            • "This is from the quarterly planning meeting"

            • "This is a follow-up to our discussion yesterday"


            Maximum of ~10k characters.
          title: Context
        input:
          description: >-
            Any raw content you want to remember - web pages, emails,
            transcripts, articles, or simple text.


            Common Use Cases:

            • HTML from a webpage

            • Email text (including headers)

            • Meeting transcript

            • Text from a document

            • Simple notes or thoughts


            Examples:

            • "<!DOCTYPE html><html><head><title>AI Trends
            2025</title>...</html>"

            • "[08:47:19] Kevin: Hello...[09:15:22] Meeting ended."

            • "Check out Atomic Habits by James Clear - recommended by Sarah"


            Maximum of ~1M characters (~1 MB).
          maxLength: 1000000
          title: Input
          type: string
        instructions:
          anyOf:
            - maxLength: 10000
              type: string
            - type: 'null'
          description: >-
            Optional guidance on how you want this information processed or
            remembered.


            Examples:

            • "Extract the key findings and save as a research note"

            • "Create a summary with action items and decisions"

            • "Add to my reading list"


            Maximum size: approximately 10 KB.
          title: Instructions
        timestamp:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: >-
            When this information was encountered or created (ISO 8601 datetime
            string). Defaults to the current date and time.


            Example:

            • "2025-04-01T14:30:45Z"

            • "2023-12-15T09:45:30+01:00"


            Maximum of ~10k characters.
          title: Timestamp
      required:
        - input
      title: MemItRequestSchema
      type: object
    MemItResponseSchema:
      example:
        request_id: api-request-036ed6c7-de00-459f-a89b-43d26aafe522
      properties:
        request_id:
          title: Request Id
          type: string
      required:
        - request_id
      title: MemItResponseSchema
      type: object
    UsageQuotaExceededPayload:
      description: Stable public payload shared by quota producers and HTTP consumers.
      properties:
        error:
          $ref: '#/components/schemas/UsageQuotaExceededBody'
      required:
        - error
      title: UsageQuotaExceededPayload
      type: object
    UsageQuotaExceededBody:
      properties:
        details:
          $ref: '#/components/schemas/UsageQuotaExceededDetails'
        message:
          title: Message
          type: string
        type:
          const: quota_exceeded
          default: quota_exceeded
          title: Type
          type: string
        upgrade_info:
          $ref: '#/components/schemas/UsageQuotaUpgradeInfo'
      required:
        - message
        - details
        - upgrade_info
      title: UsageQuotaExceededBody
      type: object
    UsageQuotaExceededDetails:
      properties:
        current_plan:
          title: Current Plan
          type: string
        free_limit:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          title: Free Limit
        free_used:
          minimum: 0
          title: Free Used
          type: integer
        limit:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          title: Limit
        reset_time:
          title: Reset Time
          type: string
        used:
          minimum: 0
          title: Used
          type: integer
      required:
        - current_plan
        - used
        - free_used
        - reset_time
      title: UsageQuotaExceededDetails
      type: object
    UsageQuotaUpgradeInfo:
      properties:
        message:
          title: Message
          type: string
        upgrade_url:
          title: Upgrade Url
          type: string
      required:
        - message
        - upgrade_url
      title: UsageQuotaUpgradeInfo
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````