Skip to main content
Use Coassemble through Corsair: one client, typed API calls, local DB sync. Coassemble’s operations return live data but don’t save it to the local database yet, so .search() on the entities below returns nothing until you write rows yourself. Call the API operations for current data. What you get:
  • 4 typed API operations
  • 4 synced entities (clients, courses, trackings, users) for fast .search() / .list()

Setup

1

Install

2

Add the plugin

corsair.ts
Multi-tenancy is the default — scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

clients.get
Write No write-style endpoint inferred; pick any operation from the API reference. See the full list on the API page.

Query synced data

These tables exist, but Coassemble calls don’t fill them yet. This returns only rows you have written yourself.
Synced entities: clients, courses, trackings, users. See Database for filters and operators.

What’s next

API reference

Every coassemble.api.* operation with input and output types.

Database

Synced entities, search filters, and operators.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.