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

Companies

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
createdAtdateequals, before, after, between
updatedAtdateequals, before, after, between
archivedbooleanequals
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.

Contacts

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
createdAtdateequals, before, after, between
updatedAtdateequals, before, after, between
archivedbooleanequals
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.

Deals

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
createdAtdateequals, before, after, between
updatedAtdateequals, before, after, between
archivedbooleanequals
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.

Engagements

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

Searchable filters

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

Tickets

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

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
createdAtdateequals, before, after, between
updatedAtdateequals, before, after, between
archivedbooleanequals
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.