[{"data":1,"prerenderedAt":1115},["ShallowReactive",2],{"navigation_docs":3,"-cli-sandboxes":223,"-cli-sandboxes-surround":1110},[4,30,83,128,157,182],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","\u002Fgetting-started","1.getting-started",[9,13,17,21,25],{"title":10,"path":11,"stem":12},"What is FlashDrive?","\u002Fgetting-started\u002Fwhat-is-flashdrive","1.getting-started\u002F01.what-is-flashdrive",{"title":14,"path":15,"stem":16},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F02.quickstart",{"title":18,"path":19,"stem":20},"Key concepts","\u002Fgetting-started\u002Fkey-concepts","1.getting-started\u002F03.key-concepts",{"title":22,"path":23,"stem":24},"Find files","\u002Fgetting-started\u002Ffind-files","1.getting-started\u002F04.find-files",{"title":26,"path":27,"stem":28},"Common use cases","\u002Fgetting-started\u002Fuse-cases","1.getting-started\u002F05.use-cases",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Platform Guide","\u002Fplatform","2.platform",[35,39,43,47,51,55,59,63,67,71,75,79],{"title":36,"path":37,"stem":38},"Organizations and workspaces","\u002Fplatform\u002Forganizations-and-workspaces","2.platform\u002F01.organizations-and-workspaces",{"title":40,"path":41,"stem":42},"Members, invitations, and roles","\u002Fplatform\u002Fmembers-and-roles","2.platform\u002F02.members-and-roles",{"title":44,"path":45,"stem":46},"API keys and permissions","\u002Fplatform\u002Fapi-keys","2.platform\u002F03.api-keys",{"title":48,"path":49,"stem":50},"Drives and the default drive","\u002Fplatform\u002Fdrives-and-defaults","2.platform\u002F04.drives-and-defaults",{"title":52,"path":53,"stem":54},"Folders and files","\u002Fplatform\u002Ffolders-and-documents","2.platform\u002F05.folders-and-documents",{"title":56,"path":57,"stem":58},"Upload files","\u002Fplatform\u002Fuploads-and-indexing","2.platform\u002F06.uploads-and-processing",{"title":60,"path":61,"stem":62},"Usage","\u002Fplatform\u002Fusage","2.platform\u002F07.usage",{"title":64,"path":65,"stem":66},"Billing and credits","\u002Fplatform\u002Fbilling","2.platform\u002F08.billing",{"title":68,"path":69,"stem":70},"Storage and limits","\u002Fplatform\u002Fstorage-and-upgrades","2.platform\u002F09.storage-and-upgrades",{"title":72,"path":73,"stem":74},"Account settings and security","\u002Fplatform\u002Faccount-and-security","2.platform\u002F10.account-and-security",{"title":76,"path":77,"stem":78},"Redeem a promo code","\u002Fplatform\u002Fpromo-codes","2.platform\u002F11.promo-codes",{"title":80,"path":81,"stem":82},"Build tools from files","\u002Fplatform\u002Ffile-workflows","2.platform\u002F12.file-workflows",{"title":84,"path":85,"stem":86,"children":87,"page":29},"SDK Guide","\u002Fsdk","4.sdk",[88,92,96,100,104,108,112,116,120,124],{"title":89,"path":90,"stem":91},"Python installation and configuration","\u002Fsdk\u002Finstallation","4.sdk\u002F01.installation",{"title":93,"path":94,"stem":95},"Upload your first files","\u002Fsdk\u002Fupload-files","4.sdk\u002F02.upload-files",{"title":97,"path":98,"stem":99},"Upload a large collection","\u002Fsdk\u002Fbulk-imports","4.sdk\u002F03.bulk-imports",{"title":101,"path":102,"stem":103},"Find, read and edit files","\u002Fsdk\u002Ffiles","4.sdk\u002F05.files",{"title":105,"path":106,"stem":107},"Work with folders","\u002Fsdk\u002Ffolders","4.sdk\u002F06.folders",{"title":109,"path":110,"stem":111},"Manage drives and defaults","\u002Fsdk\u002Fdrives-and-defaults","4.sdk\u002F07.drives-and-defaults",{"title":113,"path":114,"stem":115},"Replace files and attach metadata","\u002Fsdk\u002Freplace-and-label","4.sdk\u002F08.replace-and-label",{"title":117,"path":118,"stem":119},"Upload recovery and partial failures","\u002Fsdk\u002Fupload-recovery","4.sdk\u002F09.upload-recovery",{"title":121,"path":122,"stem":123},"Async workflows","\u002Fsdk\u002Fasync","4.sdk\u002F10.async",{"title":125,"path":126,"stem":127},"Errors, timeouts, and retries","\u002Fsdk\u002Ferrors-and-retries","4.sdk\u002F11.errors-and-retries",{"title":129,"path":130,"stem":131,"children":132,"page":29},"CLI Guide","\u002Fcli","5.cli",[133,137,141,145,149,153],{"title":134,"path":135,"stem":136},"Get Started","\u002Fcli\u002Fquickstart","5.cli\u002F01.quickstart",{"title":138,"path":139,"stem":140},"Profiles and Access","\u002Fcli\u002Fconfiguration","5.cli\u002F02.configuration",{"title":142,"path":143,"stem":144},"Uploads and Recovery","\u002Fcli\u002Fuploads-and-recovery","5.cli\u002F03.uploads-and-recovery",{"title":146,"path":147,"stem":148},"Mount and Sync","\u002Fcli\u002Fmount-and-sync","5.cli\u002F05.mount-and-sync",{"title":150,"path":151,"stem":152},"Sandbox Tokens","\u002Fcli\u002Fsandboxes","5.cli\u002F06.sandboxes",{"title":154,"path":155,"stem":156},"Command Reference","\u002Fcli\u002Fcommands","5.cli\u002F07.commands",{"title":158,"path":159,"stem":160,"children":161,"page":29},"MCP","\u002Fmcp","6.mcp",[162,166,170,174,178],{"title":163,"path":164,"stem":165},"Connect an AI client","\u002Fmcp\u002Fconnect","6.mcp\u002F01.connect",{"title":167,"path":168,"stem":169},"Choose an assistant’s permissions","\u002Fmcp\u002Fpermissions","6.mcp\u002F02.permissions",{"title":171,"path":172,"stem":173},"Upload and manage content","\u002Fmcp\u002Fmanage-content","6.mcp\u002F04.manage-content",{"title":175,"path":176,"stem":177},"Tool reference","\u002Fmcp\u002Ftools","6.mcp\u002F05.tools",{"title":179,"path":180,"stem":181},"Troubleshooting and revoking access","\u002Fmcp\u002Ftroubleshooting","6.mcp\u002F06.troubleshooting",{"title":183,"path":184,"stem":185,"children":186,"page":29},"Reference","\u002Freference","7.reference",[187,191,195,199,203,207,211,215,219],{"title":188,"path":189,"stem":190},"Authentication and API conventions","\u002Freference\u002Fauthentication","7.reference\u002F01.authentication",{"title":192,"path":193,"stem":194},"Organizations, workspaces, and access API","\u002Freference\u002Faccess-api","7.reference\u002F02.access-api",{"title":196,"path":197,"stem":198},"Drives, folders, and files API","\u002Freference\u002Fcontent-api","7.reference\u002F03.content-api",{"title":200,"path":201,"stem":202},"Uploads API","\u002Freference\u002Fuploads-api","7.reference\u002F04.uploads-api",{"title":204,"path":205,"stem":206},"Usage and billing API","\u002Freference\u002Fusage-and-billing-api","7.reference\u002F06.usage-and-billing-api",{"title":208,"path":209,"stem":210},"Errors and recovery","\u002Freference\u002Ferrors","7.reference\u002F07.errors",{"title":212,"path":213,"stem":214},"Limits and supported files","\u002Freference\u002Flimits","7.reference\u002F08.limits",{"title":216,"path":217,"stem":218},"Troubleshooting","\u002Freference\u002Ftroubleshooting","7.reference\u002F09.troubleshooting",{"title":220,"path":221,"stem":222},"Changelog","\u002Freference\u002Fchangelog","7.reference\u002F10.changelog",{"id":224,"title":225,"body":226,"description":1103,"extension":1104,"links":1105,"meta":1106,"navigation":1107,"path":151,"seo":1108,"stem":152,"__hash__":1109},"docs\u002F5.cli\u002F06.sandboxes.md","Give a sandbox one drive",{"type":227,"value":228,"toc":1092},"minimark",[229,238,243,348,361,365,375,444,527,539,558,565,569,580,676,680,687,799,838,843,855,873,887,891,933,984,988,1032,1053,1064,1068,1071,1085,1088],[230,231,232,233,237],"p",{},"To let a cloud sandbox, container or GPU job use a drive, give it a ",[234,235,236],"strong",{},"sandbox token"," instead of an API key. A sandbox token reaches one drive, or one folder of it, for a short time. Extend it while the job runs, and revoke it when the job is done.",[239,240,242],"h2",{"id":241},"what-a-token-can-do","What a token can do",[244,245,246,259],"table",{},[247,248,249],"thead",{},[250,251,252,256],"tr",{},[253,254,255],"th",{},"A sandbox token",[253,257,258],{},"Details",[260,261,262,271,287,295],"tbody",{},[250,263,264,268],{},[265,266,267],"td",{},"Reaches one drive",[265,269,270],{},"Optionally only one folder and its subfolders. Requests for any other drive, folder or file are refused.",[250,272,273,276],{},[265,274,275],{},"Has one access level",[265,277,278,282,283,286],{},[279,280,281],"code",{},"read"," (list, read and grep files) or ",[279,284,285],{},"read_write"," (also upload, replace, edit and write bytes, delete files, and create, rename or delete folders inside its scope).",[250,288,289,292],{},[265,290,291],{},"Lasts 5 minutes to 12 hours",[265,293,294],{},"1 hour by default. Never longer than the API key that made it.",[250,296,297,300],{},[265,298,299],{},"Never writes agent instruction files",[265,301,302,303,306,307,306,310,306,313,306,316,306,319,306,322,306,325,306,328,306,331,306,334,306,337,340,341,344,345,347],{},"Files and folders named ",[279,304,305],{},"AGENTS.md",", ",[279,308,309],{},"CLAUDE.md",[279,311,312],{},"GEMINI.md",[279,314,315],{},"SKILL.md",[279,317,318],{},"copilot-instructions.md",[279,320,321],{},".cursorrules",[279,323,324],{},".windsurfrules",[279,326,327],{},".github",[279,329,330],{},".claude",[279,332,333],{},".codex",[279,335,336],{},".cursor",[279,338,339],{},".vscode"," and ",[279,342,343],{},".agents"," stay read-only to it. A ",[279,346,285],{}," token cannot be made for a folder inside one of those folders.",[230,349,350,351,354,355,360],{},"A sandbox token cannot move files, create folder trees with ",[279,352,353],{},"flashdrive folder ensure",", delete a folder with everything in it, or make ",[356,357,359],"a",{"href":358},"\u002Fcli\u002Fcommands#find-read-and-write-files","file links",". It cannot make, list, extend or revoke tokens.",[239,362,364],{"id":363},"make-a-token","Make a token",[230,366,367,368,370,371,374],{},"You can make a ",[279,369,285],{}," token if your API key has ",[234,372,373],{},"Read \u002F Write"," permission or your workspace role can change content.",[376,377,382],"pre",{"className":378,"code":379,"language":380,"meta":381,"style":381},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","flashdrive sandbox-token create --drive DRIVE_ID --folder FOLDER_ID \\\n  --access read --ttl-seconds 3600 --name render-job --out token.txt\n","bash","",[279,383,384,416],{"__ignoreMap":381},[385,386,389,393,397,400,403,406,409,412],"span",{"class":387,"line":388},"line",1,[385,390,392],{"class":391},"sBMFI","flashdrive",[385,394,396],{"class":395},"sfazB"," sandbox-token",[385,398,399],{"class":395}," create",[385,401,402],{"class":395}," --drive",[385,404,405],{"class":395}," DRIVE_ID",[385,407,408],{"class":395}," --folder",[385,410,411],{"class":395}," FOLDER_ID",[385,413,415],{"class":414},"sTEyZ"," \\\n",[385,417,419,422,425,428,432,435,438,441],{"class":387,"line":418},2,[385,420,421],{"class":395},"  --access",[385,423,424],{"class":395}," read",[385,426,427],{"class":395}," --ttl-seconds",[385,429,431],{"class":430},"sbssI"," 3600",[385,433,434],{"class":395}," --name",[385,436,437],{"class":395}," render-job",[385,439,440],{"class":395}," --out",[385,442,443],{"class":395}," token.txt\n",[244,445,446,456],{},[247,447,448],{},[250,449,450,453],{},[253,451,452],{},"Option",[253,454,455],{},"Use",[260,457,458,471,487,497,507,517],{},[250,459,460,468],{},[265,461,462,306,465],{},[279,463,464],{},"--drive",[279,466,467],{},"--folder",[265,469,470],{},"The drive, and optionally the folder (with its subfolders) the token reaches. Default: the selected drive, whole.",[250,472,473,481],{},[265,474,475,478,479],{},[279,476,477],{},"--access read"," or ",[279,480,285],{},[265,482,483,484,486],{},"Default ",[279,485,281],{},".",[250,488,489,494],{},[265,490,491],{},[279,492,493],{},"--ttl-seconds N",[265,495,496],{},"300 to 43,200 seconds, default 3,600.",[250,498,499,504],{},[265,500,501],{},[279,502,503],{},"--name NAME",[265,505,506],{},"A label you will recognize later, up to 120 characters.",[250,508,509,514],{},[265,510,511],{},[279,512,513],{},"--out FILE",[265,515,516],{},"Save the token to a new file only you can read. The file must not exist yet.",[250,518,519,524],{},[265,520,521],{},[279,522,523],{},"--print",[265,525,526],{},"Show the token once in the output instead.",[230,528,529,530,340,533,535,536,538],{},"Choose exactly one of ",[279,531,532],{},"--out",[279,534,523],{},". The token is shown only once. Never paste it into a prompt, a command line, a log or a repository; code that hands it to a sandbox should read it from the ",[279,537,532],{}," file.",[230,540,541,542,545,546,549,550,553,554,557],{},"You can also make tokens from the ",[356,543,544],{"href":110},"Python SDK",", or ask a connected assistant to make one with the MCP tool ",[279,547,548],{},"create_sandbox_token"," (it needs the ",[234,551,552],{},"Give sandboxes drive access"," permission; see ",[356,555,556],{"href":168},"assistant permissions",").",[230,559,560,561,564],{},"Past the workspace's token limits, the service answers ",[279,562,563],{},"auth_rate_limited"," with a time to retry after.",[239,566,568],{"id":567},"hand-it-to-the-sandbox","Hand it to the sandbox",[230,570,571,572,575,576,579],{},"Inside the sandbox, the CLI and SDK read the token from ",[279,573,574],{},"FLASHDRIVE_API_KEY",". Pass it to the sandbox as a secret, never as a value on a command line. The sandbox needs outbound HTTPS to the API; if you set ",[279,577,578],{},"FLASHDRIVE_BASE_URL",", pass that too.",[244,581,582,592],{},[247,583,584],{},[250,585,586,589],{},[253,587,588],{},"Where the job runs",[253,590,591],{},"How to pass the token",[260,593,594,614,626,634,649,661],{},[250,595,596,599],{},[265,597,598],{},"A sandbox with a network proxy that can add headers",[265,600,601,602,605,606,609,610,613],{},"A proxy route for the API host that adds ",[279,603,604],{},"Authorization: Bearer \u003Ctoken>",", with the token stored as the route's secret. The sandbox never holds the token: set ",[279,607,608],{},"FLASHDRIVE_API_KEY=proxy-injected"," inside it. The CLI and SDK use the sandbox's proxy (",[279,611,612],{},"HTTPS_PROXY",") and its CA bundle. Prefer this where your sandbox provider offers it.",[250,615,616,619],{},[265,617,618],{},"E2B",[265,620,621,622,625],{},"The sandbox's ",[279,623,624],{},"envs"," when you create it.",[250,627,628,631],{},[265,629,630],{},"A serverless GPU platform",[265,632,633],{},"Its secret store, attached to the function or sandbox.",[250,635,636,639],{},[265,637,638],{},"Daytona",[265,640,641,644,645,648],{},[279,642,643],{},"env_vars"," (",[279,646,647],{},"envVars"," in TypeScript) when you create the sandbox.",[250,650,651,654],{},[265,652,653],{},"Vercel Sandbox",[265,655,656,657,660],{},"The ",[279,658,659],{},"env"," of each command that needs it.",[250,662,663,666],{},[265,664,665],{},"Docker or another runtime",[265,667,668,671,672,675],{},[279,669,670],{},"--env-file"," with a file only you can read, or ",[279,673,674],{},"-e FLASHDRIVE_API_KEY"," with no value to pass through a variable already set in your environment.",[239,677,679],{"id":678},"use-the-drive-inside-the-sandbox","Use the drive inside the sandbox",[230,681,682,683,686],{},"Install the CLI (",[279,684,685],{},"pip install --upgrade flashdrive-cli",", Python 3.10 or later). No sign-in is needed: commands use the token's drive, and with a folder token, uploads go to its folder by default.",[376,688,690],{"className":378,"code":689,"language":380,"meta":381,"style":381},"flashdrive file list\nflashdrive grep 'def train' --glob '**\u002F*.py'\nflashdrive file read DOCUMENT_ID --start-line 1 --line-count 50\nflashdrive upload .\u002Fresults --recursive --wait          # read_write tokens\nflashdrive file patch DOCUMENT_ID chunk.bin --append --revision REVISION\n",[279,691,692,702,730,754,775],{"__ignoreMap":381},[385,693,694,696,699],{"class":387,"line":388},[385,695,392],{"class":391},[385,697,698],{"class":395}," file",[385,700,701],{"class":395}," list\n",[385,703,704,706,709,713,716,719,722,724,727],{"class":387,"line":418},[385,705,392],{"class":391},[385,707,708],{"class":395}," grep",[385,710,712],{"class":711},"sMK4o"," '",[385,714,715],{"class":395},"def train",[385,717,718],{"class":711},"'",[385,720,721],{"class":395}," --glob",[385,723,712],{"class":711},[385,725,726],{"class":395},"**\u002F*.py",[385,728,729],{"class":711},"'\n",[385,731,733,735,737,739,742,745,748,751],{"class":387,"line":732},3,[385,734,392],{"class":391},[385,736,698],{"class":395},[385,738,424],{"class":395},[385,740,741],{"class":395}," DOCUMENT_ID",[385,743,744],{"class":395}," --start-line",[385,746,747],{"class":430}," 1",[385,749,750],{"class":395}," --line-count",[385,752,753],{"class":430}," 50\n",[385,755,757,759,762,765,768,771],{"class":387,"line":756},4,[385,758,392],{"class":391},[385,760,761],{"class":395}," upload",[385,763,764],{"class":395}," .\u002Fresults",[385,766,767],{"class":395}," --recursive",[385,769,770],{"class":395}," --wait",[385,772,774],{"class":773},"sHwdD","          # read_write tokens\n",[385,776,778,780,782,785,787,790,793,796],{"class":387,"line":777},5,[385,779,392],{"class":391},[385,781,698],{"class":395},[385,783,784],{"class":395}," patch",[385,786,741],{"class":395},[385,788,789],{"class":395}," chunk.bin",[385,791,792],{"class":395}," --append",[385,794,795],{"class":395}," --revision",[385,797,798],{"class":395}," REVISION\n",[800,801,802,818,831],"ul",{},[803,804,805,806,809,810,813,814,817],"li",{},"With a folder token, ",[279,807,808],{},"flashdrive file list"," covers one folder per call (use ",[279,811,812],{},"flashdrive folder list"," for its subfolders); ",[279,815,816],{},"grep"," covers the whole subtree.",[803,819,820,340,823,826,827,830],{},[279,821,822],{},"flashdrive file cat --bytes",[279,824,825],{},"flashdrive file get"," read a file's original bytes. ",[279,828,829],{},"flashdrive file link"," is not available to a sandbox token.",[803,832,833,834,837],{},"In Python, pass ",[279,835,836],{},"folder_id"," when uploading with a folder token.",[839,840,842],"h3",{"id":841},"mount-the-drive","Mount the drive",[230,844,845,846,849,850,854],{},"For large and media files, mount the drive (Linux with ",[279,847,848],{},"\u002Fdev\u002Ffuse","; the CLI's Linux package includes the mount helper; see ",[356,851,853],{"href":852},"\u002Fcli\u002Fmount-and-sync#requirements","mount requirements","):",[376,856,858],{"className":378,"code":857,"language":380,"meta":381,"style":381},"flashdrive mount --at \u002Fmnt\u002Fdrive\n",[279,859,860],{"__ignoreMap":381},[385,861,862,864,867,870],{"class":387,"line":388},[385,863,392],{"class":391},[385,865,866],{"class":395}," mount",[385,868,869],{"class":395}," --at",[385,871,872],{"class":395}," \u002Fmnt\u002Fdrive\n",[230,874,875,876,878,879,882,883,486],{},"A folder token mounts its folder as the top of the mount, and a ",[279,877,281],{}," token mounts read-only. Files the token may not write, such as instruction files, stay in the sandbox and show as unsaved in ",[279,880,881],{},"flashdrive mounts",". If FUSE or the helper is unavailable, use the file commands above. After a sandbox wakes, ",[356,884,886],{"href":885},"\u002Fcli\u002Fmount-and-sync#resume-after-a-sandbox-wakes","check or resume its saved mount",[839,888,890],{"id":889},"follow-changes","Follow changes",[376,892,894],{"className":378,"code":893,"language":380,"meta":381,"style":381},"flashdrive changes                     # prints the current cursor and no changes\nflashdrive file list                   # then list the drive\nflashdrive changes --cursor CURSOR     # later: what changed since\n",[279,895,896,906,918],{"__ignoreMap":381},[385,897,898,900,903],{"class":387,"line":388},[385,899,392],{"class":391},[385,901,902],{"class":395}," changes",[385,904,905],{"class":773},"                     # prints the current cursor and no changes\n",[385,907,908,910,912,915],{"class":387,"line":418},[385,909,392],{"class":391},[385,911,698],{"class":395},[385,913,914],{"class":395}," list",[385,916,917],{"class":773},"                   # then list the drive\n",[385,919,920,922,924,927,930],{"class":387,"line":732},[385,921,392],{"class":391},[385,923,902],{"class":395},[385,925,926],{"class":395}," --cursor",[385,928,929],{"class":395}," CURSOR",[385,931,932],{"class":773},"     # later: what changed since\n",[230,934,935,936,939,940,306,943,644,946,478,949,952,953,306,956,306,959,306,962,306,964,306,967,340,970,973,974,977,978,973,980,983],{},"Take the cursor first, then list, then follow with each new ",[279,937,938],{},"cursor",". Each entry has ",[279,941,942],{},"sequence",[279,944,945],{},"kind",[279,947,948],{},"upsert",[279,950,951],{},"delete","), ",[279,954,955],{},"document_id",[279,957,958],{},"external_id",[279,960,961],{},"filename",[279,963,836],{},[279,965,966],{},"revision",[279,968,969],{},"operation_id",[279,971,972],{},"operation_state",". ",[279,975,976],{},"has_more"," is true when more entries are ready; call again with the cursor. With a folder token you see only its subtree, and a file moved out of it appears as a ",[279,979,951],{},[279,981,982],{},"--limit"," takes 1 to 1,000 entries (default 500).",[239,985,987],{"id":986},"extend-or-revoke","Extend or revoke",[376,989,991],{"className":378,"code":990,"language":380,"meta":381,"style":381},"flashdrive sandbox-token list\nflashdrive sandbox-token extend TOKEN_ID --ttl-seconds 7200\nflashdrive sandbox-token revoke TOKEN_ID --yes\n",[279,992,993,1001,1018],{"__ignoreMap":381},[385,994,995,997,999],{"class":387,"line":388},[385,996,392],{"class":391},[385,998,396],{"class":395},[385,1000,701],{"class":395},[385,1002,1003,1005,1007,1010,1013,1015],{"class":387,"line":418},[385,1004,392],{"class":391},[385,1006,396],{"class":395},[385,1008,1009],{"class":395}," extend",[385,1011,1012],{"class":395}," TOKEN_ID",[385,1014,427],{"class":395},[385,1016,1017],{"class":430}," 7200\n",[385,1019,1020,1022,1024,1027,1029],{"class":387,"line":732},[385,1021,392],{"class":391},[385,1023,396],{"class":395},[385,1025,1026],{"class":395}," revoke",[385,1028,1012],{"class":395},[385,1030,1031],{"class":395}," --yes\n",[230,1033,1034,1037,1038,1041,1042,1044,1045,1048,1049,1052],{},[279,1035,1036],{},"list"," shows live tokens newest first, without their secrets. ",[279,1039,1040],{},"--state recent"," adds tokens that ended in the last 30 days, and ",[279,1043,464],{}," filters by drive. ",[279,1046,1047],{},"extend"," sets a live token's expiry to now plus ",[279,1050,1051],{},"--ttl-seconds"," (default 3,600), so uploads in flight keep working; an ended token cannot be extended. Revocation takes effect for new requests within 60 seconds. Revoke a token as soon as the job is done, or at once if it may have leaked.",[230,1054,1055,1056,1059,1060,1063],{},"Workspace admins also see live tokens in the Console, under ",[234,1057,1058],{},"Sandbox tokens"," in the workspace's API key settings, with ",[234,1061,1062],{},"Revoke"," on each one.",[239,1065,1067],{"id":1066},"when-a-token-ends","When a token ends",[230,1069,1070],{},"A token ends at its expiry, when it is revoked, or when whatever made it ends or loses access:",[800,1072,1073,1076,1079],{},[803,1074,1075],{},"made with an API key: when that key is revoked or expires;",[803,1077,1078],{},"made by a signed-in person: when that sign-in ends or the person loses access to the workspace;",[803,1080,1081,1082,1084],{},"made through an assistant: when the MCP connection is revoked, its sign-in ends, or it loses the ",[234,1083,552],{}," permission.",[230,1086,1087],{},"When a token ends, its uploads that are still queued stop too.",[1089,1090,1091],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":381,"searchDepth":418,"depth":418,"links":1093},[1094,1095,1096,1097,1101,1102],{"id":241,"depth":418,"text":242},{"id":363,"depth":418,"text":364},{"id":567,"depth":418,"text":568},{"id":678,"depth":418,"text":679,"children":1098},[1099,1100],{"id":841,"depth":732,"text":842},{"id":889,"depth":732,"text":890},{"id":986,"depth":418,"text":987},{"id":1066,"depth":418,"text":1067},"Make a short-lived sandbox token, hand it to a cloud sandbox or job, and use or mount the drive inside it.","md",null,{},{"title":150},{"title":225,"description":1103},"L34D4O0e2t0-mhCzWPuHck7kBJX_igpMGamjBoGzXvs",[1111,1113],{"title":146,"path":147,"stem":148,"description":1112,"children":-1},"Open a drive as a local folder, work on files in place, and recover a mount after an interruption.",{"title":154,"path":155,"stem":156,"description":1114,"children":-1},"Every flashdrive command, global options, output, exit codes and updates.",1795366545824]