Hanzo
OpenapiSandbox

Write a file

Writes the request body to one file in the sandbox's project directory, creating parent directories.

POST /v1/sandbox/{id}/fs

Addresshttps://api.hanzo.ai/v1/sandbox/{id}/fs
MethodPOST
Operationpost_sandbox_by_id_fs
AuthAuthorization: Bearer $HANZO_API_KEY

Writes the request body to one file in the sandbox's project directory, creating parent directories. Same confinement as the read above.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo sandboxes fs create <id>

Sandbox API · All Hanzo APIs · Interactive reference

How is this guide?

On this page