cURL
curl --request POST \ --url https://api.factory.ai/api/v0/computers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "provider": "byom" } '
{ "id": "<string>", "name": "<string>", "providerType": "byom", "createdAt": 123, "hostname": "<string>", "status": "provisioning", "provisioningSteps": [ { "id": "create-computer", "name": "<string>", "status": "pending", "error": "<string>", "startedAt": 123, "completedAt": 123 } ], "relayClientUrl": "<string>", "relayAgentUrl": "<string>" }
Creates a new persistent computer environment.
Factory API key or JWT token for authentication
1 - 63
byom
e2b
Response for status 201
provisioning
active
error
Show child attributes