Optionaloptions: { env?: string; host?: string; token?: string }ProtectedenvProtectedhostProtectedtokenDeactivate an installed integration. POST /v1/integration/{id}/deactivate
List explorable integration templates (subscription/geo aware). GET /v1/integrations/explore
Resolve, per installed integration, which option (tier) the project is
actually on — the join between GET /v1/integrations (keyed by id,
carrying each template's option_set) and billing's subscriptions
(keyed by product_id) that every prior caller has had to hand-roll.
Integrations without a (non-empty) template.option_set are omitted
entirely — the key is absent, not mapped to undefined — so callers
can't mistake "not tiered" for "tier unresolved".
An active subscription's option_code is reported as-is even when it
no longer matches an entry in the current option_set (e.g. a tier
renamed or retired after the code was issued) — option is left
undefined in that case rather than guessing; code is still trustworthy.
Install (integrate) an integration into the current project. POST /v1/integrate
Optionaldata: Record<string, any>List marketplace-available integrations (subscription/geo aware). GET /v1/marketplace/integrations
Advance/update the onboarding state of an installed integration. POST /v1/integration/{id}/onboarding
Uninstall (remove) an integration from the current project. PUT /v1/integrate
Activate an installed integration. POST /v1/integration/{id}/activate