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

Comments

Path: sentry.db.comments.search
const rows = await corsair.sentry.db.comments.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
comment_idstringequals, contains, startsWith, endsWith, in
issue_idstringequals, contains, startsWith, endsWith, in
project_slugstringequals, contains, startsWith, endsWith, in
commentstringequals, contains, startsWith, endsWith, in
timestampdateequals, 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.

Events

Path: sentry.db.events.search
const rows = await corsair.sentry.db.events.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
eventIDstringequals, contains, startsWith, endsWith, in
titlestringequals, contains, startsWith, endsWith, in
messagestringequals, contains, startsWith, endsWith, in
platformstringequals, contains, startsWith, endsWith, in
dateCreateddateequals, before, after, between
dateReceiveddateequals, before, after, between
typestringequals, contains, startsWith, endsWith, in
groupIDstringequals, contains, startsWith, endsWith, in
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.

Issues

Path: sentry.db.issues.search
const rows = await corsair.sentry.db.issues.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
shortIdstringequals, contains, startsWith, endsWith, in
titlestringequals, contains, startsWith, endsWith, in
culpritstringequals, contains, startsWith, endsWith, in
permalinkstringequals, contains, startsWith, endsWith, in
levelstringequals, contains, startsWith, endsWith, in
statusstringequals, contains, startsWith, endsWith, in
platformstringequals, contains, startsWith, endsWith, in
projectstringequals, contains, startsWith, endsWith, in
typestringequals, contains, startsWith, endsWith, in
countstringequals, contains, startsWith, endsWith, in
userCountnumberequals, gt, gte, lt, lte, in
firstSeendateequals, before, after, between
lastSeendateequals, before, after, between
isPublicbooleanequals
isBookmarkedbooleanequals
hasSeenbooleanequals
isSubscribedbooleanequals
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.

Organizations

Path: sentry.db.organizations.search
const rows = await corsair.sentry.db.organizations.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
slugstringequals, contains, startsWith, endsWith, in
namestringequals, contains, startsWith, endsWith, in
statusstringequals, contains, startsWith, endsWith, in
dateCreateddateequals, before, after, between
isEarlyAdopterbooleanequals
require2FAbooleanequals
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.

Projects

Path: sentry.db.projects.search
const rows = await corsair.sentry.db.projects.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
slugstringequals, contains, startsWith, endsWith, in
namestringequals, contains, startsWith, endsWith, in
platformstringequals, contains, startsWith, endsWith, in
dateCreateddateequals, before, after, between
isBookmarkedbooleanequals
isMemberbooleanequals
hasAccessbooleanequals
organizationstringequals, contains, startsWith, endsWith, in
teamstringequals, contains, startsWith, endsWith, in
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.

Releases

Path: sentry.db.releases.search
const rows = await corsair.sentry.db.releases.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idnumberequals, gt, gte, lt, lte, in
versionstringequals, contains, startsWith, endsWith, in
shortVersionstringequals, contains, startsWith, endsWith, in
dateCreateddateequals, before, after, between
dateReleaseddateequals, before, after, between
firstEventdateequals, before, after, between
lastEventdateequals, before, after, between
newGroupsnumberequals, gt, gte, lt, lte, in
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.

Teams

Path: sentry.db.teams.search
const rows = await corsair.sentry.db.teams.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
slugstringequals, contains, startsWith, endsWith, in
namestringequals, contains, startsWith, endsWith, in
dateCreateddateequals, before, after, between
isMemberbooleanequals
memberCountnumberequals, gt, gte, lt, lte, in
hasAccessbooleanequals
isPendingbooleanequals
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.