Gatana logoGatana Docs
RoutesSandboxesSandboxidWrite file

/sandboxes/{sandboxId}/write-file

Write the raw request body to the given file path in the sandbox

POST
/sandboxes/{sandboxId}/write-file
AuthorizationBearer <token>

In: header

Path Parameters

sandboxId*string

Query Parameters

path*string

Request Body

application/octet-stream

Raw file content to write

body?unknown
Formatbinary

Response Body

application/json

curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/sandboxes/string/write-file?path=string"
{
  "success": true
}