Create Deka Notebook
This API is used to create a new Deka Notebook
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
cpuinteger · min: 1Required
custom_imagestringOptional
gpuintegerOptional
gpu_typestringOptional
image_idstringOptional
memory_sizeinteger · min: 1Required
memory_unitstringRequired
namestring · min: 3 · max: 50Required
namespacestringRequired
project_idstringRequired
purpose_of_usestringRequired
storage_classstringRequired
storage_sizeinteger · min: 1Required
storage_unitstringRequired
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Success403
Forbidden
application/json
post/core/deka-notebook
POST /core/deka-notebook HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251
{
"cpu": 1,
"custom_image": "text",
"gpu": 1,
"gpu_type": "text",
"image_id": "text",
"memory_size": 1,
"memory_unit": "text",
"name": "text",
"namespace": "text",
"project_id": "text",
"purpose_of_use": "text",
"storage_class": "text",
"storage_size": 1,
"storage_unit": "text"
}{
"code": 200,
"data": null,
"message": "Success"
}Last updated