REST API
Infra APISandbox

Read Sandbox workspace file

GET/api/v1/sandboxes/{sandbox_id}/files/content

Authorization

BearerAuth
AuthorizationBearer <token>

Hydra JWT Bearer token

In: header

Path Parameters

sandbox_id*string

Sandbox ID

Query Parameters

path?string

File path; defaults to workspace root

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/sandboxes/string/files/content"
{  "content": "string",  "path": "string",  "size": 0,  "truncated": true}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}