import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const installDeploymentPackageResponse = await client.deploymentPackages.install('account_id');
console.log(installDeploymentPackageResponse.package_installation);{
"package_installation": {
"organization_id": "<string>",
"package_version_id": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"created_by_identity_type": "user",
"status": "INSTALLED",
"install_log": "<string>",
"state": {},
"account_id": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
}
}import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const installDeploymentPackageResponse = await client.deploymentPackages.install('account_id');
console.log(installDeploymentPackageResponse.package_installation);{
"package_installation": {
"organization_id": "<string>",
"package_version_id": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"created_by_identity_type": "user",
"status": "INSTALLED",
"install_log": "<string>",
"state": {},
"account_id": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
}
}EGP_CONFIGURATION, BLOB_STORAGE_FILE, DOCKER_IMAGE, EGP_ENTITY, EGP_USER, INTERNAL_MODEL_INFO, EVALUATION_DATASET, MODEL, KNOWLEDGE_BASE, AGENTS_CONFIG Successful Response
Show child attributes
The identifier of the organization.
The package version which is installed
The unique identifier of the entity.
The date and time when the entity was created in ISO format.
The user who originally created the entity.
The type of identity that created the entity.
user, service_account INSTALLED, UNINSTALLED, IN_PROGRESS, FAILED output of installation step
Properties of the installation, must match schema of the package type.
The ID of the account to which the installed package belongs. Unset for non-EGP entity deployment packages.
The date and time when the entity was deleted in ISO format.