Skip to main content

getByProvider

client.environmentDebugApi.getByProvider(providerId: string): Promise<EnvironmentDebugInstance[]>

Retrieves environment instances associated with a specific provider.

Filters instances by the provider that created or manages them, useful for diagnosing issues with a particular environment provider.

Parameters

ParameterTypeRequiredDescription
providerIdstringYesThe unique identifier of the environment provider

Returns

Promise<EnvironmentDebugInstance[]> — A promise that resolves to an array of objects for the given provider

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.environmentDebugApi.getByProvider('providerId');
console.log(result);