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 Resend plugin syncs data locally. Use corsair.resend.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Domains

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
namestringequals, contains, startsWith, endsWith, in
created_atdateequals, before, after, between
regionstringequals, 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.

Emails

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
fromstringequals, contains, startsWith, endsWith, in
subjectstringequals, contains, startsWith, endsWith, in
created_atdateequals, 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.