Skip to main content
GET
/
computers
/
{id}
curl https://api.tzafon.ai/computers/comp_a1b2c3d4e5f6 \
  -H "Authorization: Bearer sk_your_api_key"
{
  "id": "comp_a1b2c3d4e5f6",
  "kind": "browser",
  "status": "running",
  "created_at": "2025-01-16T12:00:00Z",
  "expires_at": "2025-01-16T13:00:00Z",
  "idle_expires_at": "2025-01-16T12:05:00Z",
  "last_activity_at": "2025-01-16T12:03:00Z",
  "max_lifetime_seconds": 3600,
  "inactivity_timeout_seconds": 120,
  "auto_kill": true
}

Path Parameters

id
string
required
Session ID

Response

id
string
required
Session ID
kind
string
required
Session type: browser or desktop
status
string
required
Session status: ready, running, or terminated
created_at
string
required
When the session was created
expires_at
string
When max lifetime expires
idle_expires_at
string
When inactivity timeout expires
last_activity_at
string
Timestamp of last action or keepalive
max_lifetime_seconds
integer
Configured max lifetime
inactivity_timeout_seconds
integer
Configured inactivity timeout
auto_kill
boolean
Whether auto-termination is enabled
curl https://api.tzafon.ai/computers/comp_a1b2c3d4e5f6 \
  -H "Authorization: Bearer sk_your_api_key"
{
  "id": "comp_a1b2c3d4e5f6",
  "kind": "browser",
  "status": "running",
  "created_at": "2025-01-16T12:00:00Z",
  "expires_at": "2025-01-16T13:00:00Z",
  "idle_expires_at": "2025-01-16T12:05:00Z",
  "last_activity_at": "2025-01-16T12:03:00Z",
  "max_lifetime_seconds": 3600,
  "inactivity_timeout_seconds": 120,
  "auto_kill": true
}