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

Forms

Path: tally.db.forms.search
const rows = await corsair.tally.db.forms.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
statusstringequals, contains, startsWith, endsWith, in
workspaceIdstringequals, contains, startsWith, endsWith, in
createdAtdateequals, before, after, between
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.

Submissions

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
formIdstringequals, contains, startsWith, endsWith, in
respondentIdstringequals, contains, startsWith, endsWith, in
isCompletedbooleanequals
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.

Workspaces

Path: tally.db.workspaces.search
const rows = await corsair.tally.db.workspaces.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
createdAtdateequals, before, after, between
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.