Skip to main content
List sandbox execution sessions. Defaults to the authenticated user default project; pass project_id to list project-billed sessions.

Tool details

FieldValue
Namelist_sandbox_sessions
GroupSandbox

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional project ID. When set, list project-billed sandbox sessions."
    },
    "cursor": {
      "type": "string",
      "description": "Cursor for pagination. Uses the sandbox session ID."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Maximum sandbox sessions to return. Defaults to 20."
    }
  },
  "additionalProperties": false,
  "description": "Input schema for the list_sandbox_sessions tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the returned record."
          },
          "short_id": {
            "type": "string",
            "description": "The short id associated with this tool result."
          },
          "endpoint": {
            "type": "string",
            "description": "The endpoint associated with this tool result."
          },
          "status": {
            "type": "string",
            "description": "Lifecycle status for the returned record."
          },
          "ttl_mode": {
            "type": "string",
            "enum": [
              "default",
              "duration",
              "always_on"
            ],
            "description": "The ttl mode associated with this tool result."
          },
          "ttl_hours": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "description": "The ttl hours associated with this tool result."
              },
              {
                "type": "null",
                "description": "The ttl hours returned by the tool."
              }
            ],
            "description": "The ttl hours associated with this tool result."
          },
          "expires_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The expires at associated with this tool result."
          },
          "created_at": {
            "type": "string",
            "description": "Creation timestamp in ISO 8601 format."
          },
          "project_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Project identifier associated with this result."
          },
          "last_activity_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "The last activity at associated with this tool result."
          }
        },
        "required": [
          "id",
          "short_id",
          "endpoint",
          "status",
          "ttl_mode",
          "ttl_hours",
          "expires_at",
          "created_at",
          "project_id",
          "last_activity_at"
        ],
        "additionalProperties": false,
        "description": "One data item associated with this tool result."
      },
      "description": "Primary result records returned by the tool."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": "object",
          "description": "The first associated with this tool result."
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page when pagination is available."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page when pagination is available."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    }
  },
  "required": [
    "data",
    "page_info"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_sandbox_sessions tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}