Skip to main content
screenpipe runs a local API on localhost:3030. use these recipes when you want useful answers fast, then open the API reference for every parameter and response shape. protected endpoints require API authentication. retrieve the local key once per shell:
you can also reveal it in Settings → Privacy → API security. the examples below include the required bearer header. /health is the exception.

1. check that screenpipe is alive

use this before debugging MCP, pipes, or chat. if it fails, the app is not serving the local API yet.

2. search the last 24 hours

content_type=all can return accessibility text, OCR fallback text, audio transcripts, input events, app names, window titles, and browser URLs.

3. search one app or website

use app_name for desktop app names and browser_url for web activity captured through browser metadata.

4. search a precise time window

time filters accept relative values such as 3h ago and now, or ISO 8601 UTC for an exact historical window. an explicit start and end is the safest way to debug “what happened during that call?”

5. search meeting audio

speaker filters work best after you name or merge speakers in the meeting transcript sidebar or through the speaker APIs.

6. summarize activity for an agent

use this when an AI agent needs a compact readout of a time range instead of raw search results.

7. manage speakers

speaker cleanup improves meeting search, transcript readability, and calendar-assisted speaker identification.

8. list and update meetings

meetings are higher-level objects built from audio, transcript, timeline, and optional calendar context.

9. fetch frame text and context

use frame endpoints when you already have a frame_id from search and need the captured text, surrounding accessibility context, OCR fallback data, or metadata.

10. search structured UI elements

elements come from the accessibility tree. they are useful for finding buttons, links, fields, and UI labels directly, instead of relying on visual OCR.

11. use read-only SQL

/raw_sql only allows read-only queries such as select, with, and explain. writes are rejected.

12. work with memories

memories are durable notes that AI workflows can search later.

13. manage retention

retention keeps disk usage bounded. pair it with archive if you want old recordings moved out before deletion.

14. archive old data

archive is for moving older media to encrypted storage while keeping the local timeline searchable.

15. delete a time range

replace both placeholders with reviewed ISO 8601 UTC timestamps. data deletion is permanent; export or archive anything you need before deleting a range or device.

filter cheat sheet

next steps