Screenpipe Data Management API

Manual data deletion and storage info

Operations 3

POST /data/delete-range Delete data in time range #
POST /data/delete-device Delete device data #
GET /data/device-storage Get device storage usage #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/screenpipe-data-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

screenpipe-data-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Screenpipe Activity Data Management 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:
- url: http://localhost:3030
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Data Management
  description: Manual data deletion and storage info
paths:
  /data/delete-range:
    post:
      operationId: routes_data_delete_time_range_handler
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteTimeRangeRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTimeRangeResponse'
      tags:
      - Data Management
      summary: Delete data in time range
      description: Permanently delete all captured data (frames, accessibility text, OCR fallback text, audio, etc.) within a time range.
  /data/delete-device:
    post:
      description: Delete all locally-stored data that was synced from a specific remote device.
      operationId: routes_data_delete_device_data_handler
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteDeviceDataRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTimeRangeResponse'
      tags:
      - Data Management
      summary: Delete device data
  /data/device-storage:
    get:
      description: Get record counts per synced device.
      operationId: routes_data_device_storage_handler
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DeviceStorageEntry'
      tags:
      - Data Management
      summary: Get device storage usage
components:
  schemas:
    DeviceStorageEntry:
      type: object
      properties:
        machine_id:
          type: string
        frames:
          type: integer
        audio_chunks:
          type: integer
      required:
      - machine_id
      - frames
      - audio_chunks
    DeleteTimeRangeRequest:
      type: object
      properties:
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
      required:
      - start
      - end
    DeleteDeviceDataRequest:
      type: object
      properties:
        machine_id:
          type: string
      required:
      - machine_id
    DeleteTimeRangeResponse:
      type: object
      properties:
        frames_deleted:
          type: integer
        ocr_deleted:
          type: integer
        audio_transcriptions_deleted:
          type: integer
        audio_chunks_deleted:
          type: integer
        video_chunks_deleted:
          type: integer
        accessibility_deleted:
          type: integer
        ui_events_deleted:
          type: integer
        video_files_deleted:
          type: integer
        audio_files_deleted:
          type: integer
      required:
      - frames_deleted
      - ocr_deleted
      - audio_transcriptions_deleted
      - audio_chunks_deleted
      - video_chunks_deleted
      - accessibility_deleted
      - ui_events_deleted
      - video_files_deleted
      - audio_files_deleted