Skip to main content
GET
Download a file from the turn sandbox

Authorizations

Authorization
string
header
required

Caller credential (Authorization: Bearer <token>). Required on protected routes when auth is enabled. Browser sessions may use the HttpOnly id_token or accessToken cookie instead.

Path Parameters

session_id
string
required

Session identifier.

Required string length: 1 - 64
turn_id
string
required

Turn identifier.

Minimum string length: 1

Query Parameters

path
string
required

Absolute or sandbox-working-directory-relative file path, as listed in the assistant's sandbox_artifacts block.

Minimum string length: 1

Response

File contents.

The response is of type file.