GetSessionCommandRequest
May 25, 2026 ยท View on GitHub
Example Usage
import { GetSessionCommandRequest } from "@vercel/sdk/models/getsessioncommandop.js";
let value: GetSessionCommandRequest = {
sessionId: "sbx_abc123",
cmdId: "cmd_abc123",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
sessionId | string | :heavy_check_mark: | The unique identifier of the session containing the command. | sbx_abc123 |
cmdId | string | :heavy_check_mark: | The unique identifier of the command to retrieve. | cmd_abc123 |
wait | models.Wait | :heavy_minus_sign: | If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion. | |
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 |