> ## Documentation Index
> Fetch the complete documentation index at: https://isol8.notdhruv.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download file

> Download base64-encoded file content from an active persistent session.

Downloads file content from a persistent session container.

<ParamField query="sessionId" type="string" required>
  Existing persistent session identifier.
</ParamField>

<ParamField query="path" type="string" required>
  Absolute file path inside the container.
</ParamField>

<ResponseField name="content" type="string">
  Base64-encoded file content.
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl "http://localhost:3000/file?sessionId=session-123&path=/sandbox/output.txt" \
    -H "Authorization: Bearer $ISOL8_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  { "content": "aGVsbG8K" }
  ```
</ResponseExample>
