POST
/
api
/
servers
curl --request POST \
  --url https://dashboard.amdatascience.com/api/servers \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "environment": "ai",
  "port": 5000,
  "server_name": "test-server",
  "server_request": "amds-medium_cpu"
}'
{
  "alph_editor_url": "http://dashboard.amdatascience.com/alph-editor/test-server",
  "environment": "ai",
  "hourly_rate": 4,
  "port": 5000,
  "port_forward_url": "pending",
  "server_name": "test-server",
  "server_request": "amds-medium_cpu",
  "status": "success",
  "url": "https://lab.amdatascience.com/user/demo@example.com/test-server"
}

Authorizations

apiKey
string
header
required

Body

application/json
environment
string
Example:

"ai"

port
number
Example:

5000

server_name
string
Example:

"test-server"

server_request
string
Example:

"amds-medium_cpu"

Response

202 - application/json
Create Server
alph_editor_url
string
Example:

"http://dashboard.amdatascience.com/alph-editor/test-server"

environment
string
Example:

"ai"

hourly_rate
number
Example:

4

port
number
Example:

5000

port_forward_url
string
Example:

"pending"

server_name
string
Example:

"test-server"

server_request
string
Example:

"amds-medium_cpu"

status
string
Example:

"success"

url
string
Example:

"https://lab.amdatascience.com/user/demo@example.com/test-server"