Get a computer by name
Changed onReturns the caller's computer by name, or a service account's computer when requested by a human who may use that account.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
Computer name
Query parameters
Look up a service account’s Computers (requires a human who may use the account).
Whether to include provisioning step details.
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Compute provider backing this computer, e.g. 'byom' or 'e2b'.
Last known sandbox lifecycle state; null for BYOM computers. More states may be added, so treat a value you do not know as unknown.
Epoch milliseconds of this computer's last daemon heartbeat. Managed lifecycle events, such as a sandbox starting or pausing, can also advance it, so a recent value alone does not mean the daemon is running. Absent when none is recorded.
Unix timestamp, in milliseconds, when the computer was created.
Exact resources the computer was created with: CPU, memory, and disk when recorded. Absent for computers created before sizes were recorded.
Changes
- info
added the optional property
viewerCanRestartto the response with the status
- info
- info
added the optional property
effectiveResourcesto the response with the status
- info