Skip to content

Stream a snapshot file as raw bytes (binary-safe, uncapped)

GET
/workspaces/{id}/snapshot/download/{path}
curl --request GET \
--url https://your-org.evershell.ai/v1/workspaces/example/snapshot/download/example \
--header 'Authorization: Bearer <token>'

Permissions: workspace:read or workspace:read:own (creator-match on :own).

id
required
string
path
required
string

Raw file bytes from the snapshot tar. Content-Disposition: attachment is set.

Media type application/octet-stream
string format: binary

Resource not found in the caller’s org

Media type application/json
object
error
required
object
code
required

Closed-enum slug (e.g. permission_denied, validation_error, workspace_not_found)

string
message
required

Human-readable summary

string
request_id
required

Server-generated request id for correlating logs

string
details

Optional structured context. Validation errors land at details.fields as a per-field map.

object
key
additional properties
any
Example
{
"error": {
"code": "permission_denied",
"message": "caller lacks required scope",
"request_id": "7f3a9c2e"
}
}