Waiting for engine...
Skip to main content

useFetchIntegrationPackInstances()

useFetchIntegrationPackInstances(

__namedParameters: \\{ search?: string; \\}
):
{ integrationPackInstances, refetch, isLoading, +4 more }

Fetches integration pack instances for the current account group, enriches each with installation details and attached environment IDs, and returns a paginated list. Supports optional substring search against instance names.

Throws

Sets error state if plugin context is missing required values or if API calls fail.

Parameters

\_\_namedParameters

Fields: search: string.

Returns

Hook API with the current page of instances, pagination helpers, and state flags.

refetch()

refetch: () => Promise<void> = fetchIntegrationPackInstances

Returns

Promise<void>

goToPage()

Sets the current page (1-indexed). The next fetch will apply this page.

goToPage: (page: number) => void

Parameters

page
number Target page number (>= 1).

Returns

void
On this Page