WriteSessionFilesRequest
March 27, 2026 ยท View on GitHub
Example Usage
import { WriteSessionFilesRequest } from "@vercel/sdk/models/writesessionfilesop.js";
let value: WriteSessionFilesRequest = {
xCwd: "/home/vercel-sandbox",
sessionId: "sbx_abc123",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
xCwd | string | :heavy_minus_sign: | The target directory where the tarball contents will be extracted. If not specified, files are extracted to the sandbox home directory. | /home/vercel-sandbox |
sessionId | string | :heavy_check_mark: | The unique identifier of the session to write files to. | sbx_abc123 |
teamId | string | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l |
slug | string | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug |