cURL
curl --request GET \ --url https://api.factory.ai/api/v0/computers/{computerId}/metrics \ --header 'Authorization: Bearer <token>'
[ { "timestamp": "<string>", "cpuUsedPct": 123, "cpuCount": 123, "memUsed": 123, "memTotal": 123, "diskUsed": 123, "diskTotal": 123 } ]
Returns CPU, memory, and disk usage metrics for an active E2B computer.
Factory API key or JWT token for authentication
Computer ID
Start of time range (ISO 8601)
Response for status 200