import GboxSDK from "gbox-sdk";const gboxSDK = new GboxSDK({ apiKey: process.env["GBOX_API_KEY"] // This is the default and can be omitted});async function main() { const boxes = await gboxSDK.list(); boxes.operators.forEach((operator) => { console.log(operator.data.id); }); const boxInfo = await gboxSDK.listInfo(); boxInfo.data.forEach((item) => { console.log(item.id); });}main();
import os
from gbox_sdk import GboxSDK
gbox_sdk = GboxSDK(api_key=os.environ["GBOX_API_KEY"])
boxes = gbox_sdk.list()
for operator in boxes.operators:
print(operator.data.id)
box_info = gbox_sdk.list_info()
for item in box_info.data:
print(item.id)
Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.
GET
/
boxes
JavaScript
import GboxSDK from "gbox-sdk";const gboxSDK = new GboxSDK({ apiKey: process.env["GBOX_API_KEY"] // This is the default and can be omitted});async function main() { const boxes = await gboxSDK.list(); boxes.operators.forEach((operator) => { console.log(operator.data.id); }); const boxInfo = await gboxSDK.listInfo(); boxInfo.data.forEach((item) => { console.log(item.id); });}main();
import os
from gbox_sdk import GboxSDK
gbox_sdk = GboxSDK(api_key=os.environ["GBOX_API_KEY"])
boxes = gbox_sdk.list()
for operator in boxes.operators:
print(operator.data.id)
box_info = gbox_sdk.list_info()
for item in box_info.data:
print(item.id)
Enter your API Key in the format: Bearer . Get it from https://gbox.ai
Query Parameters
page
integer
default:1
Page number
Example:
1
pageSize
integer
default:10
Page size
Example:
10
status
enum<string>[]
Filter boxes by their current status (pending, running, stopped, error, terminated, all). Must be an array of statuses. Use 'all' to get boxes with any status.
Available options:
all,
pending,
running,
error,
terminated
Example:
["running"]
type
enum<string>[]
Filter boxes by their type (linux, android, all). Must be an array of types. Use 'all' to get boxes of any type.
Available options:
all,
linux,
android
Example:
["linux"]
labels
object
Filter boxes by their labels. Labels are key-value pairs that help identify and categorize boxes. Use this to filter boxes that match specific label criteria. For example, you can filter by project, environment, team, or any custom labels you've added to your boxes.
deviceType
string
Filter boxes by their device type (virtual, physical)
Example:
"virtual"
Response
200 - application/json
List box
Response containing paginated list of box instances
total
integer
required
Total number of items
Example:
100
page
integer
default:1
required
Page number
Example:
1
pageSize
integer
default:10
required
Page size
Example:
10
data
(Linux Box · object | Android Box · object)[]
required
A box instance that can be either Linux or Android type
Linux box instance with full configuration and status
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GBOX docs","colors":{"primary":"#7139ee","light":"#7139ee","dark":"#7139ee"},"logo":{"light":"https://mintcdn.com/gbox-551f8aad/T-DuPp0A8fmxumYw/logo/light.svg?fit=max\u0026auto=format\u0026n=T-DuPp0A8fmxumYw\u0026q=85\u0026s=786e91dc97663517a975e2a4cdd38dc0","dark":"https://mintcdn.com/gbox-551f8aad/T-DuPp0A8fmxumYw/logo/dark.svg?fit=max\u0026auto=format\u0026n=T-DuPp0A8fmxumYw\u0026q=85\u0026s=88533bdebb4759a8f4b0be55f218c270"},"favicon":"/favicon.svg","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["javascript","python","curl"]}},"navbar":{"links":[{"label":"Support","href":"mailto:connect@gbox.ai"},{"label":"Blog","href":"https://blog.gbox.ai"}],"primary":{"type":"button","label":"Try it now","href":"https://gbox.ai"}},"footer":{"socials":{"github":"https://github.com/babelcloud","x":"https://x.com/gboxai","youtube":"https://www.youtube.com/channel/UCY0nIeSubQ7jmE1jqnSUDmA","linkedin":"https://www.linkedin.com/company/gbox-ai"}},"contextual":{"options":["copy","view","chatgpt","claude"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gbox-551f8aad","hasAudioNarration":false,"actualSubdomain":"gbox-551f8aad","customDomains":["docs.gbox.ai"],"gitSource":{"type":"github","owner":"babelcloud","repo":"gbox-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b5d79ffae5051c400a81"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae9292db138cc6bcc8af591:success","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":79},{"language":"default","tag":"UI Action","count":26},{"language":"default","tag":"Android","count":17},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"Box","count":13},{"language":"default","tag":"Media","count":10},{"language":"default","tag":"Browser","count":9},{"language":"default","tag":"Integrations","count":9},{"language":"default","tag":"File System","count":7},{"language":"default","tag":"Run Code","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-component-part=\"code-group-tab-bar\"] img{background-color:transparent!important}img[src*=\"shields.io\"]{display:inline!important;vertical-align:middle;margin:0;padding:0}"}]}
{"page":{"pagePath":"api-reference/box/list-box","slug":"/api-reference/box/list-box","pageMetadata":{"openapi":"get /boxes","title":"List box","description":"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.","href":"/api-reference/box/list-box"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /boxes","title":"List box","description":"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.","href":"/api-reference/box/list-box"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/gbox-551f8aad/34a2119a7f5640ae/.lintstagedrc.js","/_mintlify/custom/gbox-551f8aad/a6375ba38a2d9939/eslint.config.js"],"openApiReferenceData":{"operation":{"description":"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.","operationId":"BoxController_listBox","parameters":["3724daeb-15f9-40fb-bb31-2fe34792abb3","494fbb6c-1411-4c37-806a-236436df84de","e1b65758-da9a-4b7b-885e-f785f6a806db","9c2d50ae-4f27-4067-9263-685c6a18ee3e","638c20b2-2c2c-4fa6-9a4c-48f2203877cf","cf2de0c3-bfb2-4bd8-bc4d-ac95b59c880c"],"responses":{"200":"01b1cadf-efdd-423e-a0d0-64df449b071f"},"security":["9020677a-7cce-418c-8f6e-313befacc97d"],"summary":"List box","tags":["Box"],"x-codeSamples":[{"lang":"JavaScript","source":"import GboxSDK from \"gbox-sdk\";\n\nconst gboxSDK = new GboxSDK({\n apiKey: process.env[\"GBOX_API_KEY\"] // This is the default and can be omitted\n});\n\nasync function main() {\n const boxes = await gboxSDK.list();\n\n boxes.operators.forEach((operator) => {\n console.log(operator.data.id);\n });\n\n const boxInfo = await gboxSDK.listInfo();\n\n boxInfo.data.forEach((item) => {\n console.log(item.id);\n });\n}\n\nmain();"},{"lang":"Python","source":"import os\nfrom gbox_sdk import GboxSDK\n\ngbox_sdk = GboxSDK(api_key=os.environ[\"GBOX_API_KEY\"])\n\nboxes = gbox_sdk.list()\n\nfor operator in boxes.operators:\n print(operator.data.id)\n\nbox_info = gbox_sdk.list_info()\n\nfor item in box_info.data:\n print(item.id)"},{"lang":"Go","source":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/gbox/gbox-sdk-go\"\n)\n\nfunc main() {\n\tgboxSDK := gbox.NewGboxSDK(os.Getenv(\"GBOX_API_KEY\"))\n\n\tboxes, err := gboxSDK.List(context.Background())\n\tif err != nil {\n\t\tlog.Fatalf(\"Failed to list boxes: %v\", err)\n\t}\n\n\tfor _, operator := range boxes.Operators {\n\t\tfmt.Println(operator.Data.ID)\n\t}\n\n\tboxInfo, err := gboxSDK.ListInfo(context.Background())\n\tif err != nil {\n\t\tlog.Fatalf(\"Failed to list box info: %v\", err)\n\t}\n\n\tfor _, item := range boxInfo.Data {\n\t\tfmt.Println(item.ID)\n\t}\n}"}],"method":"get","type":"path","servers":["f0957f46-1012-4379-83b5-d47a11963c67"],"path":"/boxes","baseUrlOptions":["https://gbox.ai/api/v1"],"title":"List box","codeSamples":[{"lang":"JavaScript","source":"import GboxSDK from \"gbox-sdk\";\n\nconst gboxSDK = new GboxSDK({\n apiKey: process.env[\"GBOX_API_KEY\"] // This is the default and can be omitted\n});\n\nasync function main() {\n const boxes = await gboxSDK.list();\n\n boxes.operators.forEach((operator) => {\n console.log(operator.data.id);\n });\n\n const boxInfo = await gboxSDK.listInfo();\n\n boxInfo.data.forEach((item) => {\n console.log(item.id);\n });\n}\n\nmain();"},{"lang":"Python","source":"import os\nfrom gbox_sdk import GboxSDK\n\ngbox_sdk = GboxSDK(api_key=os.environ[\"GBOX_API_KEY\"])\n\nboxes = gbox_sdk.list()\n\nfor operator in boxes.operators:\n print(operator.data.id)\n\nbox_info = gbox_sdk.list_info()\n\nfor item in box_info.data:\n print(item.id)"},{"lang":"Go","source":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/gbox/gbox-sdk-go\"\n)\n\nfunc main() {\n\tgboxSDK := gbox.NewGboxSDK(os.Getenv(\"GBOX_API_KEY\"))\n\n\tboxes, err := gboxSDK.List(context.Background())\n\tif err != nil {\n\t\tlog.Fatalf(\"Failed to list boxes: %v\", err)\n\t}\n\n\tfor _, operator := range boxes.Operators {\n\t\tfmt.Println(operator.Data.ID)\n\t}\n\n\tboxInfo, err := gboxSDK.ListInfo(context.Background())\n\tif err != nil {\n\t\tlog.Fatalf(\"Failed to list box info: %v\", err)\n\t}\n\n\tfor _, item := range boxInfo.Data {\n\t\tfmt.Println(item.ID)\n\t}\n}"}],"requestExampleLanguages":["javascript","python","bash"],"requiredOnlyExamples":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"3724daeb-15f9-40fb-bb31-2fe34792abb3":{"name":"page","required":false,"in":"query","description":"Page number","schema":{"default":1,"example":1,"type":"integer","isRequired":false,"description":"Page number","uniqueKey":"","typeLabel":"integer"}},"494fbb6c-1411-4c37-806a-236436df84de":{"name":"pageSize","required":false,"in":"query","description":"Page size","schema":{"default":10,"example":10,"type":"integer","isRequired":false,"description":"Page size","uniqueKey":"","typeLabel":"integer"}},"e1b65758-da9a-4b7b-885e-f785f6a806db":{"name":"status","required":false,"in":"query","description":"Filter boxes by their current status (pending, running, stopped, error, terminated, all). Must be an array of statuses. Use 'all' to get boxes with any status.","schema":{"title":"BoxStatusFilter","default":["running","pending"],"example":["running"],"type":"array","items":{"enum":["all","pending","running","error","terminated"],"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":false,"description":"Filter boxes by their current status (pending, running, stopped, error, terminated, all). Must be an array of statuses. Use 'all' to get boxes with any status.","uniqueKey":"","typeLabel":"enum\u003cstring>[]"}},"9c2d50ae-4f27-4067-9263-685c6a18ee3e":{"name":"type","required":false,"in":"query","description":"Filter boxes by their type (linux, android, all). Must be an array of types. Use 'all' to get boxes of any type.","schema":{"title":"BoxTypeFilter","default":["all"],"example":["linux"],"type":"array","items":{"enum":["all","linux","android"],"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":false,"description":"Filter boxes by their type (linux, android, all). Must be an array of types. Use 'all' to get boxes of any type.","uniqueKey":"","typeLabel":"enum\u003cstring>[]"}},"638c20b2-2c2c-4fa6-9a4c-48f2203877cf":{"name":"labels","required":false,"in":"query","description":"Filter boxes by their labels. Labels are key-value pairs that help identify and categorize boxes. Use this to filter boxes that match specific label criteria. For example, you can filter by project, environment, team, or any custom labels you've added to your boxes.","schema":{"type":"object","properties":{},"isRequired":false,"description":"Filter boxes by their labels. Labels are key-value pairs that help identify and categorize boxes. Use this to filter boxes that match specific label criteria. For example, you can filter by project, environment, team, or any custom labels you've added to your boxes.","uniqueKey":"","typeLabel":"object"}},"cf2de0c3-bfb2-4bd8-bc4d-ac95b59c880c":{"name":"deviceType","required":false,"in":"query","description":"Filter boxes by their device type (virtual, physical)","schema":{"title":"BoxDeviceTypeFilter","example":"virtual","type":"string","isRequired":false,"description":"Filter boxes by their device type (virtual, physical)","uniqueKey":"","typeLabel":"string"}}},"responses":{"01b1cadf-efdd-423e-a0d0-64df449b071f":{"description":"List box","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"integer","description":"Total number of items","example":100,"isRequired":true,"uniqueKey":"total","typeLabel":"integer"},"page":{"type":"integer","description":"Page number","default":1,"example":1,"isRequired":true,"uniqueKey":"page","typeLabel":"integer"},"pageSize":{"type":"integer","description":"Page size","default":10,"example":10,"isRequired":true,"uniqueKey":"pageSize","typeLabel":"integer"},"data":{"description":"A box instance that can be either Linux or Android type","title":"QueryBoxResult","example":[{"id":"c9bdc193-b54b-4ddb-a035-5ac0c598d32d","type":"linux","status":"running","createdAt":"2024-01-15T10:30:00.000Z","updatedAt":"2024-01-15T10:35:00.000Z","expiresAt":"2024-01-15T10:40:00.000Z","config":{"os":{"version":"ubuntu-20.04"},"workingDir":"/home/user","labels":{"environment":"development"},"envs":{"NODE_ENV":"production"},"cpu":2,"memory":1024,"storage":30}},{"id":"f7e8a2c1-9d4e-4b3a-8c6f-1e5d7a9b2c4e","type":"android","status":"pending","createdAt":"2024-01-15T10:32:00.000Z","updatedAt":"2024-01-15T10:32:00.000Z","expiresAt":"2024-01-15T10:47:00.000Z","config":{"os":{"version":"12"},"deviceType":"virtual","workingDir":"/data/local/tmp","labels":{"app":"mobile-testing"},"envs":{"ANDROID_HOME":"/opt/android-sdk"},"cpu":2,"memory":2048,"storage":20}}],"type":"array","items":{"oneOf":[{"type":"object","title":"Linux Box","description":"Linux box instance with full configuration and status","required":["id","status","createdAt","updatedAt","expiresAt","type","config"],"properties":{"id":{"type":"string","description":"Unique identifier for the box","title":"BaseBox","example":"c9bdc193-b54b-4ddb-a035-5ac0c598d32d","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.id","typeLabel":"string"},"status":{"type":"string","enum":["pending","running","error","terminated"],"description":"The current status of a box instance","title":"BaseBox","example":"running","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"createdAt":{"format":"date-time","type":"string","description":"Creation timestamp of the box","title":"BaseBox","example":"2024-01-15T10:30:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"Last update timestamp of the box","title":"BaseBox","example":"2024-01-15T10:35:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"},"expiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"Expiration timestamp of the box","title":"BaseBox","example":"2024-01-15T10:40:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Expiration timestamp of the box","title":"BaseBox","example":"2024-01-15T10:40:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.expiresAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.expiresAt","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","enum":["linux"],"default":"linux","description":"Box type is Linux","title":"LinuxBox","example":"linux","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"config":{"type":"object","title":"LinuxBox","description":"Configuration for a Linux box instance","required":["os","workingDir","labels","envs","cpu","memory","storage","publicIp"],"example":{"os":{"version":"ubuntu-20.04"},"deviceType":"physical","workingDir":"/home/user","labels":{"environment":"development","team":"qa"},"envs":{"NODE_ENV":"production","PATH":"/usr/bin:/bin"},"cpu":2,"memory":1024,"storage":30},"properties":{"os":{"type":"object","title":"LinuxConfig","description":"Operating system configuration","required":["version"],"example":{"version":"ubuntu-20.04"},"properties":{"version":{"type":"string","description":"OS version string (e.g. 'ubuntu-20.04')","title":"LinuxOsConfig","example":"ubuntu-20.04","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.os.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.os","typeLabel":"LinuxConfig · object"},"workingDir":{"type":"string","description":"Working directory path for the box. This directory serves as the default starting point for all operations including command execution, code running, and file system operations. When you execute commands or run code, they will start from this directory unless explicitly specified otherwise.","title":"LinuxConfig","example":"/home/user","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.workingDir","typeLabel":"string"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.items.[INDEX].oneOf.0.config.labels.additionalProperties","typeLabel":"string"},"description":"Key-value pairs of labels for the box. Labels are used to add custom metadata to help identify, categorize, and manage boxes. Common use cases include project names, environments, teams, applications, or any other organizational tags that help you organize and filter your boxes.","title":"LinuxConfig","example":{"project":"web-scraper","environment":"production","team":"backend","version":"v1.2.0"},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.labels","typeLabel":"LinuxConfig · object"},"envs":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.items.[INDEX].oneOf.0.config.envs.additionalProperties","typeLabel":"string"},"description":"Environment variables for the box. These variables will be available in all operations including command execution, code running, and other box behaviors","title":"LinuxConfig","example":{"MY_ENV_KEY":"env value"},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.envs","typeLabel":"LinuxConfig · object"},"cpu":{"type":"number","description":"CPU cores allocated to the box","title":"LinuxConfig","example":2,"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.cpu","typeLabel":"number"},"memory":{"type":"number","description":"Memory allocated to the box in MiB","title":"LinuxConfig","example":1024,"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.memory","typeLabel":"number"},"storage":{"type":"number","description":"Storage allocated to the box in GiB.","title":"LinuxConfig","example":30,"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.storage","typeLabel":"number"},"publicIp":{"type":"string","description":"Public IP allocated to the box.","title":"LinuxConfig","example":"8.8.8.8","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config.publicIp","typeLabel":"string"},"deviceType":{"type":"string","enum":["container","vm"],"description":"Device type - container or vm Linux device","title":"LinuxConfig","example":"container","default":"container","uniqueKey":"data.items.[INDEX].oneOf.0.config.deviceType","typeLabel":"enum\u003cstring>"},"snapshotName":{"type":"string","description":"Snapshot name","title":"LinuxConfig","uniqueKey":"data.items.[INDEX].oneOf.0.config.snapshotName","typeLabel":"string"},"snapshotId":{"type":"string","description":"Snapshot id","title":"LinuxConfig","uniqueKey":"data.items.[INDEX].oneOf.0.config.snapshotId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.0.config","typeLabel":"LinuxBox · object"},"reason":{"oneOf":[{"type":"string","description":"The reason for the current status, if any","title":"BaseBox","example":"Box terminated by user","uniqueKey":"data.items.[INDEX].oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reason for the current status, if any","title":"BaseBox","example":"Box terminated by user","uniqueKey":"data.items.[INDEX].oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"data.items.[INDEX].oneOf.0","typeLabel":"Linux Box · object"},{"type":"object","title":"Android Box","description":"Android box instance with full configuration and status","required":["id","status","createdAt","updatedAt","expiresAt","type","config"],"properties":{"id":{"type":"string","description":"Unique identifier for the box","title":"BaseBox","example":"c9bdc193-b54b-4ddb-a035-5ac0c598d32d","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.id","typeLabel":"string"},"status":{"type":"string","enum":["pending","running","error","terminated"],"description":"The current status of a box instance","title":"BaseBox","example":"running","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"createdAt":{"format":"date-time","type":"string","description":"Creation timestamp of the box","title":"BaseBox","example":"2024-01-15T10:30:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"format":"date-time","type":"string","description":"Last update timestamp of the box","title":"BaseBox","example":"2024-01-15T10:35:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.updatedAt","typeLabel":"string\u003cdate-time>"},"expiresAt":{"oneOf":[{"type":"string","format":"date-time","description":"Expiration timestamp of the box","title":"BaseBox","example":"2024-01-15T10:40:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Expiration timestamp of the box","title":"BaseBox","example":"2024-01-15T10:40:00.000Z","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.expiresAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.expiresAt","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","enum":["android"],"default":"android","description":"Box type is Android","title":"AndroidBox","example":"android","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"config":{"type":"object","title":"AndroidBox","description":"Configuration for an Android box instance","required":["os","labels","envs","cpu","memory","storage"],"example":{"os":{"version":"12"},"deviceType":"virtual","workingDir":"/data/local/tmp","labels":{"app":"mobile-testing","env":"staging"},"envs":{"ANDROID_HOME":"/opt/android-sdk","DISPLAY":":1"},"cpu":2,"memory":2048,"storage":20},"properties":{"os":{"type":"object","title":"AndroidConfig","description":"Android operating system configuration","required":["version"],"example":{"version":"12"},"properties":{"version":{"type":"string","enum":["12","13","15"],"description":"Supported Android versions","title":"AndroidOsConfig","example":"12","isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config.os.version","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config.os","typeLabel":"AndroidConfig · object"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.items.[INDEX].oneOf.1.config.labels.additionalProperties","typeLabel":"string"},"description":"Key-value pairs of labels for the box. Labels are used to add custom metadata to help identify, categorize, and manage boxes. Common use cases include project names, environments, teams, applications, or any other organizational tags that help you organize and filter your boxes.","title":"AndroidConfig","example":{"app":"mobile-testing","environment":"staging","team":"qa","device":"pixel-6"},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config.labels","typeLabel":"AndroidConfig · object"},"envs":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.items.[INDEX].oneOf.1.config.envs.additionalProperties","typeLabel":"string"},"description":"Environment variables for the box. These variables will be available in all operations including command execution, code running, and other box behaviors","title":"AndroidConfig","example":{"ANDROID_HOME":"/opt/android-sdk","DISPLAY":":1"},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config.envs","typeLabel":"AndroidConfig · object"},"cpu":{"type":"number","description":"CPU cores allocated to the box","title":"AndroidConfig","example":2,"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config.cpu","typeLabel":"number"},"memory":{"type":"number","description":"Memory allocated to the box in MiB","title":"AndroidConfig","example":2048,"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config.memory","typeLabel":"number"},"storage":{"type":"number","description":"Storage allocated to the box in GiB","title":"AndroidConfig","example":20,"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config.storage","typeLabel":"number"},"deviceType":{"type":"string","enum":["virtual","physical"],"description":"Device type - virtual or physical Android device","title":"AndroidConfig","example":"virtual","default":"virtual","uniqueKey":"data.items.[INDEX].oneOf.1.config.deviceType","typeLabel":"enum\u003cstring>"},"workingDir":{"type":"string","description":"Working directory path for the box. This directory serves as the default starting point for all operations including command execution, code running, and file system operations. When you execute commands or run code, they will start from this directory unless explicitly specified otherwise.","title":"AndroidConfig","example":"/data/local/tmp","uniqueKey":"data.items.[INDEX].oneOf.1.config.workingDir","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].oneOf.1.config","typeLabel":"AndroidBox · object"},"reason":{"oneOf":[{"type":"string","description":"The reason for the current status, if any","title":"BaseBox","example":"Box terminated by user","uniqueKey":"data.items.[INDEX].oneOf.1.reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reason for the current status, if any","title":"BaseBox","example":"Box terminated by user","uniqueKey":"data.items.[INDEX].oneOf.1.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].oneOf.1.reason","typeLabel":"string | null"}},"uniqueKey":"data.items.[INDEX].oneOf.1","typeLabel":"Android Box · object"}],"uniqueKey":"data.items.[INDEX]","typeLabel":"Linux Box · object | Android Box · object"},"isRequired":true,"uniqueKey":"data","typeLabel":"(Linux Box · object | Android Box · object)[]"}},"title":"List Box Result","description":"Response containing paginated list of box instances","required":["total","page","pageSize","data"],"uniqueKey":"","typeLabel":"List Box Result · object"},"examples":{"Example":{"title":"Example","value":{"total":100,"page":1,"pageSize":10,"data":[{"id":"c9bdc193-b54b-4ddb-a035-5ac0c598d32d","type":"linux","status":"running","createdAt":"2024-01-15T10:30:00.000Z","updatedAt":"2024-01-15T10:35:00.000Z","expiresAt":"2024-01-15T10:40:00.000Z","config":{"os":{"version":"ubuntu-20.04"},"workingDir":"/home/user","labels":{"environment":"development"},"envs":{"NODE_ENV":"production"},"cpu":2,"memory":1024,"storage":30}},{"id":"f7e8a2c1-9d4e-4b3a-8c6f-1e5d7a9b2c4e","type":"android","status":"pending","createdAt":"2024-01-15T10:32:00.000Z","updatedAt":"2024-01-15T10:32:00.000Z","expiresAt":"2024-01-15T10:47:00.000Z","config":{"os":{"version":"12"},"deviceType":"virtual","workingDir":"/data/local/tmp","labels":{"app":"mobile-testing"},"envs":{"ANDROID_HOME":"/opt/android-sdk"},"cpu":2,"memory":2048,"storage":20}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9020677a-7cce-418c-8f6e-313befacc97d":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Enter your API Key in the format: Bearer \u003ctoken>. Get it from https://gbox.ai","scopes":[]}}},"servers":{"f0957f46-1012-4379-83b5-d47a11963c67":{"url":"https://gbox.ai/api/v1","description":"Production Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"Enter your API Key in the format: Bearer \u003ctoken>. Get it from https://gbox.ai","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your API Key in the format: Bearer \u003ctoken>. Get it from https://gbox.ai","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"openapi.documented.yml"},"subdomain":"gbox-551f8aad","siteName":"GBOX docs","title":"List box - GBOX docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-09-13T05:08:05.854Z","originalFileLocation":"api-reference/box/list-box.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GBOX docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List box - GBOX docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GBOX docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gbox.ai/api-reference/box/list-box\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gbox-551f8aad.mintlify.site/_mintlify/api/og/v2?division=Box\u0026amp;title=List+box\u0026amp;description=Returns+a+paginated+list+of+box+instances.+Use+this+endpoint+to+monitor+environments%2C+filter+by+status+or+type%2C+or+retrieve+boxes+by+labels+or+device+type.\u0026amp;theme=b843ea8c3da74595ac0eb603\u0026amp;signature=5c4cad2afba6428746ba7b291188d60b4aad698def00a36b30c4ceae767bbeab\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List box - GBOX docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gbox-551f8aad.mintlify.site/_mintlify/api/og/v2?division=Box\u0026amp;title=List+box\u0026amp;description=Returns+a+paginated+list+of+box+instances.+Use+this+endpoint+to+monitor+environments%2C+filter+by+status+or+type%2C+or+retrieve+boxes+by+labels+or+device+type.\u0026amp;theme=b843ea8c3da74595ac0eb603\u0026amp;signature=5c4cad2afba6428746ba7b291188d60b4aad698def00a36b30c4ceae767bbeab\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gbox-551f8aad/iyr_Vuzw2zXkgJvV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GBOX docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7139ee\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gbox.ai/api-reference/box/list-box\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/box/list-box.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gbox.ai/#organization\",\"name\":\"GBOX docs\",\"url\":\"https://docs.gbox.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gbox-551f8aad/T-DuPp0A8fmxumYw/logo/light.svg?fit=max\u0026auto=format\u0026n=T-DuPp0A8fmxumYw\u0026q=85\u0026s=786e91dc97663517a975e2a4cdd38dc0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gbox.ai#website\",\"name\":\"GBOX docs\",\"url\":\"https://docs.gbox.ai\",\"publisher\":{\"@id\":\"https://docs.gbox.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gbox.ai/api-reference/box/list-box#webpage\",\"url\":\"https://docs.gbox.ai/api-reference/box/list-box\",\"name\":\"List box\",\"description\":\"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.\",\"dateModified\":\"2025-09-13T05:08:05.854Z\",\"isPartOf\":{\"@id\":\"https://docs.gbox.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gbox.ai/api-reference/box/list-box#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gbox.ai/api-reference/box/list-box#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Box\",\"item\":\"https://docs.gbox.ai/api-reference/box/create-android-box\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List box\",\"item\":\"https://docs.gbox.ai/api-reference/box/list-box\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gbox.ai/api-reference/box/list-box#apireference\",\"headline\":\"List box\",\"name\":\"List box\",\"description\":\"Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.\",\"url\":\"https://docs.gbox.ai/api-reference/box/list-box\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gbox.ai/api-reference/box/list-box#webpage\"},\"dateModified\":\"2025-09-13T05:08:05.854Z\",\"publisher\":{\"@id\":\"https://docs.gbox.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gbox.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GBOX docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"GBOX docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/box/list-box.md","siteName":"GBOX docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/leader-board/os-world"}]},{"tab":"API Reference","groups":[{"group":"Model","tag":"beta","pages":[{"openapi":"post /model","title":"Generate Coordinates","href":"/api-reference/model/generate-coordinates-for-a-model"}]},{"group":"Box","pages":[{"openapi":"post /boxes/android","title":"Create android box","href":"/api-reference/box/create-android-box"},{"openapi":"post /boxes/linux","title":"Create linux box","description":"Provisions a new Linux box that you can operate through the GBOX SDK. Use this endpoint when you want to create a fresh Linux environment for testing, automation, or agent execution.","href":"/api-reference/box/create-linux-box"},{"openapi":"get /boxes","title":"List box","href":"/api-reference/box/list-box"},{"openapi":"post /boxes/{boxId}/terminate","title":"Terminate box","description":"Terminate a running box. This action will stop the box and release its resources.","href":"/api-reference/box/terminate-box"},{"openapi":"get /boxes/{boxId}","title":"Get box","href":"/api-reference/box/get-box"},{"openapi":"post /boxes/{boxId}/live-view-url","title":"Live view url","href":"/api-reference/box/live-view-url"},{"openapi":"post /boxes/{boxId}/web-terminal-url","title":"Web terminal url","href":"/api-reference/box/web-terminal-url"},{"openapi":"get /boxes/{boxId}/display","title":"Get box display","href":"/api-reference/box/get-box-display"},{"openapi":"post /boxes/{boxId}/resolution","title":"Set screen resolution","href":"/api-reference/box/set-screen-resolution"},{"openapi":"post /boxes/{boxId}/storage/presigned-url","title":"Create presigned url","href":"/api-reference/box/create-presigned-url"},{"openapi":"get /boxes/{boxId}/proxy","title":"Get proxy","href":"/api-reference/box/get-proxy"},{"openapi":"post /boxes/{boxId}/proxy","title":"Set proxy","href":"/api-reference/box/set-proxy"},{"openapi":"delete /boxes/{boxId}/proxy","title":"Clear proxy","href":"/api-reference/box/clear-proxy"}]},{"group":"UI Action","pages":[{"openapi":"post /boxes/{boxId}/actions/elements/detect","title":"Detect UI elements","href":"/api-reference/ui-action/detect-ui-elements"},{"openapi":"post /boxes/{boxId}/actions/click","title":"Click","href":"/api-reference/ui-action/click"},{"openapi":"post /boxes/{boxId}/actions/tap","title":"Tap","href":"/api-reference/ui-action/tap"},{"openapi":"post /boxes/{boxId}/actions/touch","title":"Touch","href":"/api-reference/ui-action/touch"},{"openapi":"post /boxes/{boxId}/actions/drag","title":"Drag","href":"/api-reference/ui-action/drag"},{"openapi":"post /boxes/{boxId}/actions/scroll","title":"Scroll","href":"/api-reference/ui-action/scroll"},{"openapi":"post /boxes/{boxId}/actions/swipe","title":"Swipe","href":"/api-reference/ui-action/swipe"},{"openapi":"post /boxes/{boxId}/actions/press-key","title":"Press key","href":"/api-reference/ui-action/press-key"},{"openapi":"post /boxes/{boxId}/actions/press-button","title":"Press button","href":"/api-reference/ui-action/press-button"},{"openapi":"post /boxes/{boxId}/actions/long-press","title":"Long press","href":"/api-reference/ui-action/long-press"},{"openapi":"post /boxes/{boxId}/actions/type","title":"Type text","href":"/api-reference/ui-action/type-text"},{"openapi":"post /boxes/{boxId}/actions/move","title":"Move to position","href":"/api-reference/ui-action/move-to-position"},{"openapi":"post /boxes/{boxId}/actions/screen-rotation","title":"Rotate screen","href":"/api-reference/ui-action/rotate-screen"},{"openapi":"post /boxes/{boxId}/actions/screenshot","title":"Take screenshot","href":"/api-reference/ui-action/take-screenshot"},{"openapi":"get /boxes/{boxId}/actions/screen-layout","title":"Get screen layout","href":"/api-reference/ui-action/get-screen-layout"},{"openapi":"post /boxes/{boxId}/actions/recording/start","title":"Start recording","href":"/api-reference/ui-action/start-recording"},{"openapi":"post /boxes/{boxId}/actions/recording/stop","title":"Stop recording","href":"/api-reference/ui-action/stop-recording"},{"openapi":"post /boxes/{boxId}/actions/recording/rewind","title":"Enable rewind recording","href":"/api-reference/ui-action/enable-rewind-recording"},{"openapi":"delete /boxes/{boxId}/actions/recording/rewind","title":"Disable rewind recording","href":"/api-reference/ui-action/disable-rewind-recording"},{"openapi":"post /boxes/{boxId}/actions/recording/rewind/extract","title":"Extract rewind recording","href":"/api-reference/ui-action/extract-rewind-recording"},{"openapi":"get /boxes/{boxId}/actions/clipboard","title":"Get clipboard","href":"/api-reference/ui-action/get-clipboard"},{"openapi":"post /boxes/{boxId}/actions/clipboard","title":"Set clipboard","href":"/api-reference/ui-action/set-clipboard"},{"openapi":"get /boxes/{boxId}/actions/settings","title":"Get settings","href":"/api-reference/ui-action/get-settings"},{"openapi":"put /boxes/{boxId}/actions/settings","title":"Update settings","href":"/api-reference/ui-action/update-settings"},{"openapi":"delete /boxes/{boxId}/actions/settings","title":"Reset settings","href":"/api-reference/ui-action/reset-settings"}]},{"group":"Run Code","pages":[{"openapi":"post /boxes/{boxId}/run-code","title":"Run code on the box","href":"/api-reference/run-code/run-code-on-the-box"}]},{"group":"Command","pages":[{"openapi":"post /boxes/{boxId}/commands","title":"Exec command","href":"/api-reference/command/exec-command"}]},{"group":"File System","pages":[{"openapi":"get /boxes/{boxId}/fs/list","title":"List box files","href":"/api-reference/file-system/list-box-files"},{"openapi":"get /boxes/{boxId}/fs/info","title":"Get file/dir","href":"/api-reference/file-system/get-filedir"},{"openapi":"get /boxes/{boxId}/fs/read","title":"Read box file","href":"/api-reference/file-system/read-box-file"},{"openapi":"post /boxes/{boxId}/fs/write","title":"Write box file","href":"/api-reference/file-system/write-box-file"},{"openapi":"delete /boxes/{boxId}/fs","title":"Delete box file/dir","href":"/api-reference/file-system/delete-box-filedir"},{"openapi":"post /boxes/{boxId}/fs/rename","title":"Rename box/dir","href":"/api-reference/file-system/rename-boxdir"},{"openapi":"post /boxes/{boxId}/fs/exists","title":"Check if file/dir exists","href":"/api-reference/file-system/check-if-filedir-exists"}]},{"group":"Browser","pages":[{"openapi":"post /boxes/{boxId}/browser/connect-url/cdp","title":"Generate CDP url","href":"/api-reference/browser/generate-cdp-url"},{"openapi":"post /boxes/{boxId}/browser/open","title":"Open browser","href":"/api-reference/browser/open-browser"},{"openapi":"delete /boxes/{boxId}/browser/close","title":"Close browser","href":"/api-reference/browser/close-browser"},{"openapi":"get /boxes/{boxId}/browser/tabs","title":"List all browser tabs","href":"/api-reference/browser/list-all-browser-tabs"},{"openapi":"post /boxes/{boxId}/browser/tabs","title":"Open a new browser tab","href":"/api-reference/browser/open-a-new-browser-tab"},{"openapi":"put /boxes/{boxId}/browser/tabs/{tabId}","title":"Update browser tab URL","href":"/api-reference/browser/update-browser-tab-url"},{"openapi":"post /boxes/{boxId}/browser/tabs/{tabId}/switch","title":"Switch to browser tab","href":"/api-reference/browser/switch-to-browser-tab"},{"openapi":"delete /boxes/{boxId}/browser/tabs/{tabId}","title":"Close a browser tab","href":"/api-reference/browser/close-a-browser-tab"}]},{"group":"Android","tag":"beta","pages":[{"openapi":"get /boxes/{boxId}/android/apps","title":"List apps","href":"/api-reference/android/list-apps"},{"openapi":"get /boxes/{boxId}/android/apps/{packageName}","title":"Get app","href":"/api-reference/android/get-app"},{"openapi":"get /boxes/{boxId}/android/packages/{packageName}","title":"Get pkg","href":"/api-reference/android/get-pkg"},{"openapi":"delete /boxes/{boxId}/android/packages/{packageName}","title":"Uninstall app","href":"/api-reference/android/uninstall-app"},{"openapi":"post /boxes/{boxId}/android/packages","title":"Install app","href":"/api-reference/android/install-app"},{"openapi":"post /boxes/{boxId}/android/packages/{packageName}/open","title":"Open app","href":"/api-reference/android/open-app"},{"openapi":"post /boxes/{boxId}/android/packages/{packageName}/close","title":"Close app","href":"/api-reference/android/close-app"},{"openapi":"post /boxes/{boxId}/android/packages/close-all","title":"Close all apps","href":"/api-reference/android/close-all-apps"},{"openapi":"get /boxes/{boxId}/android/packages/{packageName}/activities","title":"Get pkg activities","href":"/api-reference/android/get-pkg-activities"},{"openapi":"post /boxes/{boxId}/android/packages/{packageName}/restart","title":"Restart app","href":"/api-reference/android/restart-app"},{"openapi":"get /boxes/{boxId}/android/packages","title":"List pkg","href":"/api-reference/android/list-pkg"},{"openapi":"get /boxes/{boxId}/android/packages/simple","title":"List pkg simple","href":"/api-reference/android/list-pkg-simple"},{"openapi":"post /boxes/{boxId}/android/connect-url/appium","title":"Appium Connection","href":"/api-reference/android/generate-appium-connection-url"}]},{"group":"Media","pages":[{"openapi":"get /boxes/{boxId}/media/albums","title":"List albums","href":"/api-reference/media/list-albums"},{"openapi":"post /boxes/{boxId}/media/albums","title":"Create album","href":"/api-reference/media/create-album"},{"openapi":"get /boxes/{boxId}/media/albums/{albumName}","title":"Get album detail","href":"/api-reference/media/get-album-detail"},{"openapi":"delete /boxes/{boxId}/media/albums/{albumName}","title":"Delete album","href":"/api-reference/media/delete-album"},{"openapi":"patch /boxes/{boxId}/media/albums/{albumName}","title":"Update album","href":"/api-reference/media/update-album"},{"openapi":"get /boxes/{boxId}/media/albums/{albumName}/media","title":"List media in album","href":"/api-reference/media/list-media-in-album"},{"openapi":"get /boxes/{boxId}/media/albums/{albumName}/media/{mediaName}","title":"Get media detail","href":"/api-reference/media/get-media-detail"},{"openapi":"delete /boxes/{boxId}/media/albums/{albumName}/media/{mediaName}","title":"Delete media from album","href":"/api-reference/media/delete-media-from-album"},{"openapi":"get /boxes/{boxId}/media/albums/{albumName}/media/{mediaName}/download","title":"Download media","href":"/api-reference/media/download-media"},{"openapi":"get /boxes/{boxId}/media/support","title":"Get media support extensions","href":"/api-reference/media/get-media-support-extensions"}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/gbox-cli"}]},{"tab":"Model Context Protocol (MCP)","pages":[{"title":"Model Context Protocol (MCP)","href":"/docs-mcp/docs-mcp-server"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"List box - GBOX docs","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}