[{"data":1,"prerenderedAt":616},["ShallowReactive",2],{"navigation_docs":3,"-platform-drives-and-defaults":223,"-platform-drives-and-defaults-surround":611},[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":48,"body":225,"description":604,"extension":605,"links":606,"meta":607,"navigation":608,"path":49,"seo":609,"stem":50,"__hash__":610},"docs\u002F2.platform\u002F04.drives-and-defaults.md",{"type":226,"value":227,"toc":594},"minimark",[228,232,237,240,321,357,373,377,395,399,414,417,477,480,484,487,506,517,521,532,544,548,560,583],[229,230,231],"p",{},"A drive holds files of any type in folders. Each drive belongs to one workspace, and everyone with access to that workspace, and every agent or key you allow, works in the same files.",[233,234,236],"h2",{"id":235},"create-a-drive","Create a drive",[229,238,239],{},"Give each drive a short, descriptive name of 1 to 120 characters.",[241,242,243,256],"table",{},[244,245,246],"thead",{},[247,248,249,253],"tr",{},[250,251,252],"th",{},"Where",[250,254,255],{},"How",[257,258,259,277,288,298,307],"tbody",{},[247,260,261,265],{},[262,263,264],"td",{},"Console",[262,266,267,268,272,273,276],{},"Open ",[269,270,271],"strong",{},"Drives",", select ",[269,274,275],{},"New drive"," and enter a name.",[247,278,279,282],{},[262,280,281],{},"CLI",[262,283,284],{},[285,286,287],"code",{},"flashdrive drive create \"Research\" --wait",[247,289,290,293],{},[262,291,292],{},"Python SDK",[262,294,295],{},[285,296,297],{},"client.drives.create(\"Research\")",[247,299,300,302],{},[262,301,158],{},[262,303,304],{},[285,305,306],{},"create_drive",[247,308,309,312],{},[262,310,311],{},"API",[262,313,314,317,318],{},[285,315,316],{},"POST \u002Fv1\u002Fworkspaces\u002F{workspace_id}\u002Fdrives"," with ",[285,319,320],{},"name",[229,322,323,324,327,328,331,332,335,336,339,340,343,344,346,347,352,353,356],{},"A new drive takes a moment to prepare. Its ",[285,325,326],{},"status"," is ",[285,329,330],{},"provisioning"," until it is ",[285,333,334],{},"ready","; ",[285,337,338],{},"flashdrive drive create --wait"," returns once it is ready, and ",[285,341,342],{},"flashdrive drive get DRIVE"," shows the current status. If a drive does not become ",[285,345,334],{},", ",[348,349,351],"a",{"href":350},"mailto:support@evokoa.com","contact support"," with the drive ID, which appears in the Console URL after ",[285,354,355],{},"\u002Fdrives\u002F",".",[229,358,359,360,363,364,367,368,317,371,356],{},"To rename a drive, use ",[285,361,362],{},"flashdrive drive rename DRIVE \"New name\"",", the ",[285,365,366],{},"rename_drive"," MCP tool, or ",[285,369,370],{},"PATCH \u002Fv1\u002Fdrives\u002F{drive_id}",[285,372,320],{},[233,374,376],{"id":375},"how-much-a-drive-holds","How much a drive holds",[229,378,379,380,383,384,387,388,391,392,356],{},"A drive holds up to 500,000 files, and each file can be up to 10,000,000,000 bytes (10 decimal GB). Run ",[285,381,382],{},"flashdrive limits",", or call ",[285,385,386],{},"GET \u002Fv1\u002Flimits",", for the limits in force, including the drive's storage limit. A change that would go past a drive limit answers ",[285,389,390],{},"drive_limit_exceeded","; use another drive or remove files, then try again. See ",[348,393,394],{"href":213},"limits",[233,396,398],{"id":397},"the-default-drive","The default drive",[229,400,401,402,405,406,409,410,413],{},"Every workspace has a default drive. The ",[269,403,404],{},"Default"," workspace starts with ",[269,407,408],{},"Default drive",", the team workspace with ",[269,411,412],{},"Team drive",", and every other workspace with a drive named after it.",[229,415,416],{},"The default drive is the one used when a request does not name a drive. To choose another:",[241,418,419,427],{},[244,420,421],{},[247,422,423,425],{},[250,424,252],{},[250,426,255],{},[257,428,429,442,456,468],{},[247,430,431,433],{},[262,432,264],{},[262,434,435,436,439,440,356],{},"Select ",[269,437,438],{},"Make default"," next to a drive in ",[269,441,271],{},[247,443,444,446],{},[262,445,281],{},[262,447,448,451,452,455],{},[285,449,450],{},"flashdrive workspace default-drive set DRIVE"," (and ",[285,453,454],{},"flashdrive workspace default-drive get",")",[247,457,458,460],{},[262,459,292],{},[262,461,462,451,465,455],{},[285,463,464],{},"client.drives.set_default(drive_id)",[285,466,467],{},"client.drives.get_default()",[247,469,470,472],{},[262,471,311],{},[262,473,474],{},[285,475,476],{},"PUT \u002Fv1\u002Fworkspaces\u002F{workspace_id}\u002Fdefault-drive",[229,478,479],{},"Changing the default affects later requests from everyone in the workspace that rely on it. Tell your team before you change it.",[233,481,483],{"id":482},"how-the-sdk-and-cli-choose-a-drive","How the SDK and CLI choose a drive",[229,485,486],{},"The Python SDK chooses a drive in this order:",[488,489,490,498,503],"ol",{},[491,492,493,494,497],"li",{},"The ",[285,495,496],{},"drive_id"," on the call.",[491,499,493,500,502],{},[285,501,496],{}," set on the client.",[491,504,505],{},"The workspace's default drive.",[229,507,508,509,512,513,516],{},"The SDK uses the same drive throughout an operation, including its retries. The CLI uses the drive you name with ",[285,510,511],{},"--drive"," or chose with ",[285,514,515],{},"flashdrive drive use",", and otherwise the workspace's default drive. Name the drive explicitly in scripts so a change of default never redirects them.",[233,518,520],{"id":519},"move-a-drive-to-another-workspace","Move a drive to another workspace",[229,522,523,524,527,528,531],{},"An admin of both workspaces can move a drive to another workspace in the same organization with ",[285,525,526],{},"POST \u002Fv1\u002Fdrives\u002F{drive_id}\u002Fmove"," and the target ",[285,529,530],{},"workspace_id",". Moving changes who has access; it does not copy files. Only a signed-in person can move a drive: API keys and agents cannot.",[533,534,535,538,541],"ul",{},[491,536,537],{},"Members, API keys and agent connections of the old workspace lose the drive, and the new workspace's gain it.",[491,539,540],{},"Sandbox tokens for the drive stop working.",[491,542,543],{},"A workspace's default drive cannot move until you choose another default.",[233,545,547],{"id":546},"delete-a-drive","Delete a drive",[229,549,550,551,363,554,367,557,356],{},"Delete a drive with ",[285,552,553],{},"flashdrive drive delete DRIVE --yes",[285,555,556],{},"delete_drive",[285,558,559],{},"DELETE \u002Fv1\u002Fdrives\u002F{drive_id}",[533,561,562,569,576],{},[491,563,564,565,568],{},"The default drive cannot be deleted (",[285,566,567],{},"default_drive_in_use","). Choose another default first.",[491,570,571,572,575],{},"A drive that still holds files or folders can answer ",[285,573,574],{},"drive_not_empty","; delete its contents first.",[491,577,578,579,582],{},"A drive with uploads or processing still running can answer ",[285,580,581],{},"drive_busy","; try again when they finish.",[229,584,585,586,589,590,593],{},"See ",[348,587,588],{"href":110},"SDK drive management"," for examples, and ",[348,591,592],{"href":151},"sandboxes"," to give a cloud sandbox one drive.",{"title":595,"searchDepth":596,"depth":596,"links":597},"",2,[598,599,600,601,602,603],{"id":235,"depth":596,"text":236},{"id":375,"depth":596,"text":376},{"id":397,"depth":596,"text":398},{"id":482,"depth":596,"text":483},{"id":519,"depth":596,"text":520},{"id":546,"depth":596,"text":547},"Create drives, choose each workspace's default drive, and move or delete drives.","md",null,{},{"title":48},{"title":48,"description":604},"lXf-eHr8gv_kAUN-XAsZPS6wtnAe1W9_6QI8BvuNEIc",[612,614],{"title":44,"path":45,"stem":46,"description":613,"children":-1},"Connect an application or script to one workspace.",{"title":52,"path":53,"stem":54,"description":615,"children":-1},"Organize a drive in folders like a laptop drive, and change files safely.",1795366546182]