Context Retrieval
Search screen and audio content with various filters
Query Screenpipe for content based on various filters.
Use Cases
- Search for specific text across all applications
- Find content from a specific application or window
- Get screenshots from a particular time period
- Retrieve all visits to a specific website
Examples
Basic search for recent browser activity:
const githubActivity = await pipe.queryScreenpipe({
browserUrl: "github.com",
contentType: "ocr",
limit: 20,
includeFrames: true
});
Search for specific text with date filters:
const searchResults = await pipe.queryScreenpipe({
q: "authentication",
browserUrl: "auth0.com",
appName: "Chrome",
contentType: "ocr",
startTime: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000).toISOString(),
endTime: new Date().toISOString(),
limit: 50
});
Query Parameters
Type of content to search for. "all" returns all content types.
Available options:
all
, ocr
, audio
, ui
, audio+ui
, ocr+ui
, audio+ocr
Was this page helpful?