> ## 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.

# Get activity summary

> Lightweight compressed activity overview for a time range.
Returns app usage, recent accessibility texts, and audio summary (~200-500 tokens).



## OpenAPI

````yaml /openapi.yaml get /activity-summary
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:
  /activity-summary:
    get:
      tags:
        - Activity
      summary: Get activity summary
      description: >-
        Lightweight compressed activity overview for a time range.

        Returns app usage, recent accessibility texts, and audio summary
        (~200-500 tokens).
      operationId: routes_activity_summary_get_activity_summary
      parameters:
        - name: start_time
          schema:
            type: string
            format: date-time
          in: query
          style: form
        - name: end_time
          schema:
            type: string
            format: date-time
          in: query
          style: form
        - name: app_name
          schema:
            nullable: true
            type: string
          in: query
          style: form
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivitySummaryResponse'
components:
  schemas:
    ActivitySummaryResponse:
      type: object
      properties:
        apps:
          type: array
          items:
            $ref: '#/components/schemas/AppUsage'
        recent_texts:
          type: array
          items:
            $ref: '#/components/schemas/RecentText'
        audio_summary:
          $ref: '#/components/schemas/AudioSummary'
        total_frames:
          type: integer
        time_range:
          $ref: '#/components/schemas/TimeRange'
      required:
        - apps
        - recent_texts
        - audio_summary
        - total_frames
        - time_range
    AppUsage:
      type: object
      properties:
        name:
          type: string
        frame_count:
          type: integer
        minutes:
          type: number
        first_seen:
          type: string
        last_seen:
          type: string
      required:
        - name
        - frame_count
        - minutes
        - first_seen
        - last_seen
    RecentText:
      type: object
      properties:
        text:
          type: string
        app_name:
          type: string
        timestamp:
          type: string
      required:
        - text
        - app_name
        - timestamp
    AudioSummary:
      type: object
      properties:
        segment_count:
          type: integer
        speakers:
          type: array
          items:
            $ref: '#/components/schemas/SpeakerSummary'
      required:
        - segment_count
        - speakers
    TimeRange:
      type: object
      properties:
        start:
          type: string
        end:
          type: string
      required:
        - start
        - end
    SpeakerSummary:
      type: object
      properties:
        name:
          type: string
        segment_count:
          type: integer
      required:
        - name
        - segment_count

````