Servers
Create Server
Servers
Create Server
Create Server
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
Body
application/json
Response
202 - application/json
Create Server
The response is of type object
.
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"
}