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

FieldTypeRequiredDescriptionExample
sessionIdstring:heavy_check_mark:The unique identifier of the session containing the command.sbx_abc123
cmdIdstring:heavy_check_mark:The unique identifier of the command to retrieve.cmd_abc123
waitmodels.Wait:heavy_minus_sign:If set to "true", the request will block until the command finishes execution. Useful for synchronously waiting for command completion.
teamIdstring:heavy_minus_sign:The Team identifier to perform the request on behalf of.team_1a2b3c4d5e6f7g8h9i0j1k2l
slugstring:heavy_minus_sign:The Team slug to perform the request on behalf of.my-team-url-slug