Skip to main content
POST
/
projects
/
{project_name}
/
computers
Create Computer
curl --request POST \
  --url https://www.orgo.ai/api/projects/{project_name}/computers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "os": "linux",
  "ram": 2,
  "cpu": 2,
  "gpu": "none"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "project_name": "<string>",
  "os": "linux",
  "ram": 2,
  "cpu": 2,
  "gpu": "none",
  "status": "<string>",
  "url": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}
Create a new computer within a project. The computer name must be unique within the project.

Example

{
  "name": "dev-machine",
  "os": "linux",
  "ram": 4,
  "cpu": 2
}

Authorizations

Authorization
string
header
required

API key authentication. Format: sk_live_...

Path Parameters

project_name
string
required

Body

application/json
name
string
required

Computer name (unique within project)

os
enum<string>
default:linux
required
Available options:
linux,
windows
ram
enum<integer>
default:2
required

RAM in GB

Available options:
1,
2,
4,
8,
16,
32,
64
cpu
enum<integer>
default:2
required

CPU cores

Available options:
1,
2,
4,
8,
16
gpu
enum<string>
default:none

GPU type (not yet supported)

Available options:
none,
a10,
l40s,
a100-40gb,
a100-80gb

Response

200 - application/json

Computer created

id
string<uuid>
name
string
project_name
string
os
enum<string>
Available options:
linux,
windows
ram
enum<integer>
Available options:
2,
4,
8
cpu
enum<integer>
Available options:
2,
4,
8
gpu
enum<string>
Available options:
none,
t4,
a10
status
string
url
string
created_at
string<date-time>
I