Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gravixlayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

from gravixlayer import GravixLayer

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

# Create the file first so we have something to delete
runtime.file.write("/workspace/temp.txt", "temporary\n")

response = runtime.file.delete("/workspace/temp.txt")
print(response.message)

runtime.kill()

Parameters

ParameterTypeRequiredDescription
pathstringYesFile or directory path

Response

FieldTypeDescription
messagestringConfirmation message
pathstringDeleted path