Skip to main content
from gravixlayer import GravixLayer

client = GravixLayer()
runtime = client.runtime.create(template="python-3.12-base-small")

response = client.runtime.make_directory(runtime.runtime_id, path="/workspace/projects/demo")
print(response.message)

client.runtime.kill(runtime.runtime_id)

Parameters

ParameterTypeRequiredDescription
runtime_idstringYesRuntime identifier
pathstringYesDirectory path to create

Response

FieldTypeDescription
messagestringConfirmation message
pathstringCreated directory path