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

# Add content to database

> Manually insert screen or audio content into the database.



## OpenAPI

````yaml /openapi.yaml post /add
openapi: 3.0.3
info:
  title: Screenpipe API
  version: 1.0.0
  description: >-
    Screenpipe captures everything you see, say, and hear on your computer. Use
    this API to search through captured content, manage recordings, and build
    AI-powered automations on top of your screen data.


    The server runs locally at `http://localhost:3030` by default.
servers: []
security: []
tags:
  - name: Search
    description: Search through captured screen and audio content
  - name: Frames
    description: Access captured screenshots and their extracted text
  - name: Elements
    description: Query captured UI accessibility tree data
  - name: Audio
    description: Manage audio recording devices
  - name: Vision
    description: Manage screen capture monitors
  - name: Meetings
    description: Detected and manual meeting transcriptions
  - name: Speakers
    description: Speaker identification and management
  - name: Memories
    description: AI-extracted knowledge from screen activity
  - name: Tags
    description: Tag content items for organization
  - name: Activity
    description: Activity summaries and analytics
  - name: Vault
    description: Encrypt/decrypt all data at rest
  - name: Cloud Sync
    description: Sync data across devices via cloud
  - name: Cloud Archive
    description: Archive old data to cloud storage
  - name: Data Retention
    description: Auto-delete old data locally
  - name: Data Management
    description: Manual data deletion and storage info
  - name: Database
    description: Direct database access
  - name: System
    description: Health checks and system status
  - name: Experimental
    description: Experimental/unstable endpoints
paths:
  /add:
    post:
      tags:
        - Database
      summary: Add content to database
      description: Manually insert screen or audio content into the database.
      operationId: routes_content_add_to_database
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddContentRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddContentResponse'
components:
  schemas:
    AddContentRequest:
      type: object
      properties:
        device_name:
          type: string
        content:
          $ref: '#/components/schemas/AddContentData'
      required:
        - device_name
        - content
    AddContentResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          nullable: true
          type: string
      required:
        - success
        - message
    AddContentData:
      type: object
      properties:
        content_type:
          type: string
        data:
          $ref: '#/components/schemas/ContentData'
      required:
        - content_type
        - data
    ContentData:
      oneOf:
        - type: array
          items:
            type: object
            properties:
              file_path:
                type: string
              timestamp:
                nullable: true
                type: string
                format: date-time
              app_name:
                nullable: true
                type: string
              window_name:
                nullable: true
                type: string
              ocr_results:
                nullable: true
                type: array
                items:
                  $ref: '#/components/schemas/OCRResult'
              tags:
                nullable: true
                type: array
                items:
                  type: string
            required:
              - file_path
              - timestamp
              - app_name
              - window_name
              - ocr_results
              - tags
        - type: object
          properties:
            transcription:
              type: string
            transcription_engine:
              type: string
          required:
            - transcription
            - transcription_engine
    OCRResult:
      type: object
      properties:
        text:
          type: string
        text_json:
          nullable: true
          type: string
        ocr_engine:
          nullable: true
          type: string
        focused:
          nullable: true
          type: boolean
      required:
        - text
        - text_json
        - ocr_engine
        - focused

````