## Create `client.computers.create(ComputerCreateParamsbody?, RequestOptionsoptions?): ComputerResponse` **post** `/computers` Create a new automation session. Set kind to "browser" for web automation or "desktop" for OS-level automation. Defaults to "browser" if not specified. timeout_seconds controls max lifetime, inactivity_timeout_seconds controls idle timeout, and auto_kill disables only the idle timeout (max lifetime still applies). ### Parameters - `body: ComputerCreateParams` - `auto_kill?: boolean` If true (default), kill session after inactivity - `context_id?: string` - `display?: Display` - `height?: number` - `scale?: number` - `width?: number` - `environment_id?: string` - `inactivity_timeout_seconds?: number` Idle timeout before auto-kill - `kind?: string` "browser" (default) or "desktop" - `persistent?: boolean` Persist cookies/storage state to DB on session teardown only if true - `stealth?: unknown` - `timeout_seconds?: number` - `use_advanced_proxy?: boolean` If true (browser sessions), use ADVANCED_PROXY_URL on session start ### Returns - `ComputerResponse` - `id?: string` - `auto_kill?: boolean` - `created_at?: string` - `endpoints?: Record` - `expires_at?: string` - `idle_expires_at?: string` - `inactivity_timeout_seconds?: number` - `kind?: string` - `last_activity_at?: string` - `max_lifetime_seconds?: number` - `status?: string` ### Example ```typescript import Lightcone from '@tzafon/lightcone'; const client = new Lightcone({ apiKey: process.env['TZAFON_API_KEY'], // This is the default and can be omitted }); const computerResponse = await client.computers.create(); console.log(computerResponse.id); ```