Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt

Use this file to discover all available pages before exploring further.

The Google calendar plugin syncs data locally. Use corsair.googlecalendar.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Calendars

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
summarystringequals, contains, startsWith, endsWith, in
descriptionstringequals, contains, startsWith, endsWith, in
locationstringequals, contains, startsWith, endsWith, in
timeZonestringequals, contains, startsWith, endsWith, in
createdAtdateequals, 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: googlecalendar.db.events.search
const rows = await corsair.googlecalendar.db.events.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
htmlLinkstringequals, contains, startsWith, endsWith, in
createdstringequals, contains, startsWith, endsWith, in
updatedstringequals, contains, startsWith, endsWith, in
summarystringequals, contains, startsWith, endsWith, in
descriptionstringequals, contains, startsWith, endsWith, in
locationstringequals, contains, startsWith, endsWith, in
colorIdstringequals, contains, startsWith, endsWith, in
endTimeUnspecifiedbooleanequals
recurringEventIdstringequals, contains, startsWith, endsWith, in
iCalUIDstringequals, contains, startsWith, endsWith, in
sequencenumberequals, gt, gte, lt, lte, in
attendeesOmittedbooleanequals
hangoutLinkstringequals, contains, startsWith, endsWith, in
anyoneCanAddSelfbooleanequals
guestsCanInviteOthersbooleanequals
guestsCanModifybooleanequals
guestsCanSeeOtherGuestsbooleanequals
privateCopybooleanequals
lockedbooleanequals
calendarIdstringequals, contains, startsWith, endsWith, in
createdAtdateequals, 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.