Skip to main content
The AgentQL plugin syncs data locally. Use corsair.agentql.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Account Usage

Path: agentql.db.accountUsage.search

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
updatedAtdateequals, before, after, between
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Browser Sessions

Path: agentql.db.browserSessions.search

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
sessionIdstringequals, contains, startsWith, endsWith, in
cdpUrlstringequals, contains, startsWith, endsWith, in
baseUrlstringequals, contains, startsWith, endsWith, in
browserUaPresetstringequals, contains, startsWith, endsWith, in
browserProfilestringequals, contains, startsWith, endsWith, in
inactivityTimeoutSecondsnumberequals, gt, gte, lt, lte, in
shutdownModestringequals, contains, startsWith, endsWith, in
subUserIdstringequals, contains, startsWith, endsWith, in
brandingbooleanequals
browserStartupUrlstringequals, contains, startsWith, endsWith, in
updatedAtdateequals, before, after, between
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Document Query Results

Path: agentql.db.documentQueryResults.search

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
fileNamestringequals, contains, startsWith, endsWith, in
querystringequals, contains, startsWith, endsWith, in
promptstringequals, contains, startsWith, endsWith, in
generatedQuerystringequals, contains, startsWith, endsWith, in
requestIdstringequals, contains, startsWith, endsWith, in
updatedAtdateequals, before, after, between
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Query Results

Path: agentql.db.queryResults.search

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
querystringequals, contains, startsWith, endsWith, in
promptstringequals, contains, startsWith, endsWith, in
urlstringequals, contains, startsWith, endsWith, in
generatedQuerystringequals, contains, startsWith, endsWith, in
requestIdstringequals, contains, startsWith, endsWith, in
updatedAtdateequals, before, after, between
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.