import Client from 'agentlin_client';
const client = new Client({
apiKey: process.env['AGENTLIN_API_KEY'], // This is the default and can be omitted
});
const response = await client.env.close({ session_id: 'session_id' });
console.log(response.message);