ListSessionsRequest

March 27, 2026 ยท View on GitHub

Example Usage

import { ListSessionsRequest } from "@vercel/sdk/models/listsessionsop.js";

let value: ListSessionsRequest = {
  project: "prj_abc123",
  name: "my-sandbox",
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
};

Fields

FieldTypeRequiredDescriptionExample
projectstring:heavy_minus_sign:The unique identifier or name of the project to list sessions for.prj_abc123
namestring:heavy_minus_sign:Filter sessions by sandbox name. Only sessions belonging to the specified sandbox are returned.my-sandbox
limitnumber:heavy_minus_sign:Maximum number of sessions to return in the response. Used for pagination.20
cursorstring:heavy_minus_sign:Opaque pagination cursor from a previous response.
sortOrdermodels.ListSessionsQueryParamSortOrder:heavy_minus_sign:Sort direction for results by creation time.
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