POST
/
api
/
server
curl --request POST \
  --url https://dashboard.amdatascience.com/api/server \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "environment": "ai",
  "port": 5000,
  "server_name": "test-server",
  "server_request": "amds-medium_cpu"
}'
{
  "environment": "ai",
  "hourly_rate": 4,
  "port_forward_url": "https://jupyter-demo-40example-2ecom--test-2dserver.americandatascience.dev",
  "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
headerrequired

Body

application/json
environment
string
port
number
server_name
string
server_request
string

Response

200 - application/json
environment
string
hourly_rate
number
port_forward_url
string
server_name
string
server_request
string
status
string
url
string