InstallIntegrationBody

Request body for an Integration operation.

Definition

TypeScript
interface InstallIntegrationBody {
  workspaceId: string;
  integrationVersionId?: string | undefined;
  variables?: Record<string, unknown> | undefined;
  authStateId?: string | undefined;
  memberPolicy?: "manual" | "auto_all" | "auto_defaults" | undefined;
  parentInstallId?: string | undefined;
  selectedMemberSlugs?: Array<string> | undefined;
}

Fields

FieldTypeNotes
workspaceIdstringrequired — Destination workspace to install into.
integrationVersionIdstring | undefinedoptional — Pin to a specific version. Defaults to the integration's current_version.
variablesRecord<string, unknown> | undefinedoptional — Resolved values for the integration's variables_schema.
authStateIdstring | undefinedoptional — Workspace secret reference (auth credentials). Required when auth_config.type !== 'none'.
memberPolicy"manual" | "auto_all" | "auto_defaults" | undefinedoptional
parentInstallIdstring | undefinedoptional — For add-ons: the parent install this one extends.
selectedMemberSlugsArray<string> | undefinedoptional — Which manifest member slugs to materialize. Defaults to required + defaultEnabled.