- 14 typed API operations
- 6 database entities synced for fast
.search()/.list()queries - 4 incoming webhook event types
Setup
Get credentials
Follow Get Credentials if you need help getting keys.
Store credentials
- Solo
- Multi-Tenant
api_key=your_token).Authentication
- API Key (Default)
corsair.ts
pnpm corsair setup --plugin=vercel (see Get Credentials for field names).More: API KeyWebhooks
This plugin registers 4 webhook handler(s). Configure your provider to POST events to your Corsair HTTP endpoint, then usewebhookHooks in the plugin factory for custom logic.
See Webhooks for every event path and payload shape, and Webhooks concept for how to set up routing.
Query synced data
Synced entities supportcorsair.vercel.db.<entity>.search() and .list(). See Database for filters and operators.
Example API calls
Read-style (read):projects.getProjects
envs.createEnvVariable
pnpm corsair list --plugin=vercel and pnpm corsair schema <path> locally to inspect schemas.
Hooks
Usehooks on API calls and webhookHooks on incoming events to add logging, approvals, or side effects. See Hooks and the Webhooks page for payload types.
Reference
| Topic | Link |
|---|---|
| API | API |
| Database | Database |
| Webhooks | Webhooks |
| Credentials | Get credentials |