SandboxesFiles

Check file content

Return the file size and an ETag for files up to 1 GiB.

HEAD
/v1/sandboxes/{sandboxId}/files/content
AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

sandboxId*string

Query Parameters

path*string

Absolute, or relative to the sandbox working directory. A path that starts with ~ or ~/ names the home directory of the user that the operation runs as. ~name returns 422.

user?string
resume?boolean

Response Body

curl -X HEAD "https://example.com/v1/sandboxes/string/files/content?path=string"

No body.