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

Bots

Path: cody.db.bots.search

Searchable filters

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.

Conversations

Path: cody.db.conversations.search

Searchable filters

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.

Documents

Path: cody.db.documents.search

Searchable filters

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.

Folders

Path: cody.db.folders.search

Searchable filters

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.

Messages

Path: cody.db.messages.search

Searchable filters

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.

Usage

Path: cody.db.usage.search

Searchable filters

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.