Skip to main content

checkEnvironment

client.projects.checkEnvironment(data: CheckEnvironmentRequest): Promise<unknown>

Checks the availability and configuration of an environment variable or dependency.

Validates that required environment variables, tools, or runtime dependencies are properly configured for the project.

Parameters​

ParameterTypeRequiredDescription
dataCheckEnvironmentRequestYesThe environment check request

Returns​

Promise<unknown> — A promise that resolves to the check result

Example​

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

const client = new CodeBoltClient();

const result = await client.projects.checkEnvironment(/* CheckEnvironmentRequest */);
console.log(result);