[{"data":1,"prerenderedAt":1063},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-find-files":223,"-getting-started-find-files-surround":1058},[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":22,"body":225,"description":1051,"extension":1052,"links":1053,"meta":1054,"navigation":1055,"path":23,"seo":1056,"stem":24,"__hash__":1057},"docs\u002F1.getting-started\u002F04.find-files.md",{"type":226,"value":227,"toc":1040},"minimark",[228,232,237,484,507,511,537,566,581,585,594,616,689,710,716,720,734,743,763,821,836,849,853,856,865,868,883,900,903,907,910,942,946,963,972,975,979,1006,1010,1024,1036],[229,230,231],"p",{},"Agents and people find things in a drive the way they would in a local folder: list a folder, match paths with a glob, grep for a pattern, then read the lines or bytes they need. Every surface offers the same four moves.",[233,234,236],"h2",{"id":235},"at-a-glance","At a glance",[238,239,240,266],"table",{},[241,242,243],"thead",{},[244,245,246,250,253,260,263],"tr",{},[247,248,249],"th",{},"Task",[247,251,252],{},"MCP tool",[247,254,255,259],{},[256,257,258],"code",{},"flashdrive"," command",[247,261,262],{},"Python SDK",[247,264,265],{},"REST API",[267,268,269,295,320,345,374,399,432,459],"tbody",{},[244,270,271,275,280,285,290],{},[272,273,274],"td",{},"List files",[272,276,277],{},[256,278,279],{},"list_files",[272,281,282],{},[256,283,284],{},"flashdrive file list",[272,286,287],{},[256,288,289],{},"client.files.list()",[272,291,292],{},[256,293,294],{},"GET \u002Fv1\u002Fdrives\u002F{drive_id}\u002Ffiles",[244,296,297,300,305,310,315],{},[272,298,299],{},"List folders",[272,301,302],{},[256,303,304],{},"list_folders",[272,306,307],{},[256,308,309],{},"flashdrive folder list",[272,311,312],{},[256,313,314],{},"client.folders.list()",[272,316,317],{},[256,318,319],{},"GET \u002Fv1\u002Fdrives\u002F{drive_id}\u002Ffolders",[244,321,322,325,330,335,340],{},[272,323,324],{},"Match paths",[272,326,327],{},[256,328,329],{},"glob_files",[272,331,332],{},[256,333,334],{},"flashdrive file glob PATTERN",[272,336,337],{},[256,338,339],{},"client.files.glob(pattern)",[272,341,342],{},[256,343,344],{},"GET \u002Fv1\u002Fdrives\u002F{drive_id}\u002Ffiles?pattern=...",[244,346,347,350,355,360,365],{},[272,348,349],{},"Grep text",[272,351,352],{},[256,353,354],{},"grep",[272,356,357],{},[256,358,359],{},"flashdrive grep PATTERN",[272,361,362],{},[256,363,364],{},"client.files.grep(pattern)",[272,366,367,370,371],{},[256,368,369],{},"POST \u002Fv1\u002Fdrives\u002F{drive_id}\u002Ffull-text-search"," with ",[256,372,373],{},"\"mode\": \"regex\"",[244,375,376,379,384,389,394],{},[272,377,378],{},"Read lines",[272,380,381],{},[256,382,383],{},"read_file",[272,385,386],{},[256,387,388],{},"flashdrive file read DOCUMENT_ID --start-line N --line-count N",[272,390,391],{},[256,392,393],{},"client.files.read(document_id, start_line=..., line_count=...)",[272,395,396],{},[256,397,398],{},"GET \u002Fv1\u002Fdrives\u002F{drive_id}\u002Fdocuments\u002F{document_id}\u002Ftext",[244,400,401,404,415,420,425],{},[272,402,403],{},"Read a text byte range",[272,405,406,370,408,411,412],{},[256,407,383],{},[256,409,410],{},"offset"," and ",[256,413,414],{},"length",[272,416,417],{},[256,418,419],{},"flashdrive file read DOCUMENT_ID --offset N --length N",[272,421,422],{},[256,423,424],{},"client.files.read(document_id, offset=..., length=...)",[272,426,427,428,411,430],{},"Same route, with ",[256,429,410],{},[256,431,414],{},[244,433,434,437,442,447,452],{},[272,435,436],{},"Read original bytes",[272,438,439],{},[256,440,441],{},"read_bytes",[272,443,444],{},[256,445,446],{},"flashdrive file cat DOCUMENT_ID --bytes A-B",[272,448,449],{},[256,450,451],{},"client.files.read_bytes(document_id, offset, length)",[272,453,454,455,458],{},"A file link with a ",[256,456,457],{},"Range"," header",[244,460,461,464,469,474,479],{},[272,462,463],{},"Stream a large file",[272,465,466],{},[256,467,468],{},"get_file",[272,470,471],{},[256,472,473],{},"flashdrive file link DOCUMENT_ID",[272,475,476],{},[256,477,478],{},"client.files.link(document_id)",[272,480,481],{},[256,482,483],{},"POST \u002Fv1\u002Fdrives\u002F{drive_id}\u002Fdocuments\u002F{document_id}\u002Fsource\u002Flink",[229,485,486,487,490,491,494,495,498,499,502,503,506],{},"In the SDK, ",[256,488,489],{},"client"," is a ",[256,492,493],{},"Flashdrive"," client. Every call works on the client's drive unless you pass ",[256,496,497],{},"drive_id",". The CLI works on the drive you selected with ",[256,500,501],{},"flashdrive drive use",", or the one you name with ",[256,504,505],{},"--drive",".",[233,508,510],{"id":509},"list-files-and-folders","List files and folders",[229,512,513,514,517,518,517,521,517,524,517,527,411,530,533,534,536],{},"A listing returns each file's ",[256,515,516],{},"path",", ",[256,519,520],{},"filename",[256,522,523],{},"format",[256,525,526],{},"size_bytes",[256,528,529],{},"revision",[256,531,532],{},"document_id",". Keep the ",[256,535,532],{},": reads and changes use it.",[538,539,544],"pre",{"className":540,"code":541,"language":542,"meta":543,"style":543},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","flashdrive file list --limit 100\nflashdrive file list --folder FOLDER_ID\nflashdrive file list --all\n","sh","",[256,545,546,554,560],{"__ignoreMap":543},[547,548,551],"span",{"class":549,"line":550},"line",1,[547,552,553],{},"flashdrive file list --limit 100\n",[547,555,557],{"class":549,"line":556},2,[547,558,559],{},"flashdrive file list --folder FOLDER_ID\n",[547,561,563],{"class":549,"line":562},3,[547,564,565],{},"flashdrive file list --all\n",[229,567,568,569,572,573,576,577,580],{},"Pass a folder ID to list one folder, or ",[256,570,571],{},"root"," for the files outside any folder. A page holds up to 100 files (50 by default). When ",[256,574,575],{},"next_cursor"," is set, call again with it, or use ",[256,578,579],{},"--all"," in the CLI to fetch every page.",[233,582,584],{"id":583},"match-paths-with-a-glob","Match paths with a glob",[538,586,588],{"className":540,"code":587,"language":542,"meta":543,"style":543},"flashdrive file glob '**\u002F*.md'\n",[256,589,590],{"__ignoreMap":543},[547,591,592],{"class":549,"line":550},[547,593,587],{},[538,595,599],{"className":596,"code":597,"language":598,"meta":543,"style":543},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","page = client.files.glob(\"reports\u002F*.pdf\")\nfor f in page.files:\n    print(f.path, f.document_id)\n","python",[256,600,601,606,611],{"__ignoreMap":543},[547,602,603],{"class":549,"line":550},[547,604,605],{},"page = client.files.glob(\"reports\u002F*.pdf\")\n",[547,607,608],{"class":549,"line":556},[547,609,610],{},"for f in page.files:\n",[547,612,613],{"class":549,"line":562},[547,614,615],{},"    print(f.path, f.document_id)\n",[238,617,618,628],{},[241,619,620],{},[244,621,622,625],{},[247,623,624],{},"Pattern",[247,626,627],{},"Matches",[267,629,630,640,653,663,679],{},[244,631,632,637],{},[272,633,634],{},[256,635,636],{},"**\u002F*.md",[272,638,639],{},"Markdown files in any folder",[244,641,642,647],{},[272,643,644],{},[256,645,646],{},"docs\u002F*.txt",[272,648,649,650],{},"Text files directly in ",[256,651,652],{},"docs\u002F",[244,654,655,660],{},[272,656,657],{},[256,658,659],{},"*.{md,txt}",[272,661,662],{},"Markdown and text files at any depth",[244,664,665,670],{},[272,666,667],{},[256,668,669],{},"report-202?.pdf",[272,671,672,517,675,678],{},[256,673,674],{},"report-2024.pdf",[256,676,677],{},"report-2025.pdf"," and so on",[244,680,681,686],{},[272,682,683],{},[256,684,685],{},"[a-c]*.log",[272,687,688],{},"Log files whose names start with a, b or c",[229,690,691,692,695,696,699,700,703,704,706,707,709],{},"A pattern without ",[256,693,694],{},"\u002F"," matches file names at any depth. On a very large drive a glob is read in parts: when ",[256,697,698],{},"complete"," is ",[256,701,702],{},"false"," or ",[256,705,575],{}," is set, continue with ",[256,708,575],{}," to cover the rest.",[229,711,712,713,506],{},"To find recovery copies, glob for ",[256,714,715],{},"'* (conflict *'",[233,717,719],{"id":718},"grep-across-a-drive","Grep across a drive",[229,721,722,724,725,703,727,730,731,733],{},[256,723,354],{}," finds lines that match a regular expression across a drive's text, like ",[256,726,354],{},[256,728,729],{},"ripgrep",". Each result has the file path, ",[256,732,532],{},", line number and the matching line.",[538,735,737],{"className":540,"code":736,"language":542,"meta":543,"style":543},"flashdrive grep 'TODO\\(\\w+\\)' --glob '**\u002F*.md' -C 2\n",[256,738,739],{"__ignoreMap":543},[547,740,741],{"class":549,"line":550},[547,742,736],{},[538,744,746],{"className":596,"code":745,"language":598,"meta":543,"style":543},"page = client.files.grep(r\"^## .*install\", glob=\"docs\u002F**\", context_lines=1)\nfor m in page.results:\n    print(m.path, m.start_line, m.text)\n",[256,747,748,753,758],{"__ignoreMap":543},[547,749,750],{"class":549,"line":550},[547,751,752],{},"page = client.files.grep(r\"^## .*install\", glob=\"docs\u002F**\", context_lines=1)\n",[547,754,755],{"class":549,"line":556},[547,756,757],{},"for m in page.results:\n",[547,759,760],{"class":549,"line":562},[547,761,762],{},"    print(m.path, m.start_line, m.text)\n",[764,765,766,778,787,797,800],"ul",{},[767,768,769,770,773,774,777],"li",{},"Matching is case-insensitive unless you set ",[256,771,772],{},"case_sensitive"," (",[256,775,776],{},"--case-sensitive",").",[767,779,780,773,783,786],{},[256,781,782],{},"context_lines",[256,784,785],{},"-C",") adds 0 to 5 lines before and after each match.",[767,788,789,790,773,793,796],{},"Narrow the files with ",[256,791,792],{},"glob",[256,794,795],{},"--glob",") or a folder.",[767,798,799],{},"The pattern engine runs in linear time, so it has no look-around or backreferences.",[767,801,802,803,805,806,699,808,810,811,813,814,699,816,411,818,820],{},"Results come in file order, up to 100 per page (20 by default). When ",[256,804,575],{}," is set, call again with it. When ",[256,807,698],{},[256,809,702],{},", the call stopped before covering the whole drive; continue with ",[256,812,575],{},". When ",[256,815,698],{},[256,817,702],{},[256,819,575],{}," is null, the index is still catching up with recent changes: every result returned is current, and a later call may find more.",[229,822,823,824,827,828,831,832,835],{},"Grep reads the text of PDF, Word (",[256,825,826],{},".docx","), plain text (",[256,829,830],{},".txt",") and Markdown (",[256,833,834],{},".md",") files. Other files are stored as they are and have no text to match; find them by path, and read their bytes as described below.",[229,837,838,839,842,843,848],{},"Grep is on for every drive, and there is no setting to turn it off. If grep answers ",[256,840,841],{},"full_text_search_off",", keyword and pattern search is unavailable for that drive: contact ",[844,845,847],"a",{"href":846},"mailto:support@evokoa.com","support"," with the request ID. Listing, globbing and reading files still work.",[233,850,852],{"id":851},"read-a-file-by-line-or-byte-range","Read a file by line or byte range",[229,854,855],{},"Read only what you need. By lines, give the first line (counting from 1) and how many lines to read, up to 2,000 (500 by default):",[538,857,859],{"className":540,"code":858,"language":542,"meta":543,"style":543},"flashdrive file read DOCUMENT_ID --start-line 120 --line-count 40\n",[256,860,861],{"__ignoreMap":543},[547,862,863],{"class":549,"line":550},[547,864,858],{},[229,866,867],{},"By bytes of the file's text, give an offset (counting from 0) and a length of up to 32,768 bytes:",[538,869,871],{"className":596,"code":870,"language":598,"meta":543,"style":543},"part = client.files.read(document_id, offset=0, length=32768)\nprint(part.text, part.next_offset)\n",[256,872,873,878],{"__ignoreMap":543},[547,874,875],{"class":549,"line":550},[547,876,877],{},"part = client.files.read(document_id, offset=0, length=32768)\n",[547,879,880],{"class":549,"line":556},[547,881,882],{},"print(part.text, part.next_offset)\n",[229,884,885,886,703,889,892,893,896,897,899],{},"The answer includes ",[256,887,888],{},"next_line",[256,890,891],{},"next_offset"," to continue, and is ",[256,894,895],{},"null"," at the end of the file. Pass the ",[256,898,529],{}," from an earlier read to be told if the file has changed since.",[229,901,902],{},"To quote a grep match, read the lines around the line number grep returned.",[233,904,906],{"id":905},"read-the-original-bytes","Read the original bytes",[229,908,909],{},"For headers and indexes inside binary files, such as a Parquet footer, a zip directory or an MP4 box, read raw bytes of the original file:",[764,911,912,918,936],{},[767,913,914,915,917],{},"MCP: ",[256,916,441],{}," returns up to 32,768 bytes, base64-encoded, from an offset.",[767,919,920,921,924,925,928,929,703,932,935],{},"CLI: ",[256,922,923],{},"flashdrive file cat DOCUMENT_ID --bytes 0-1023"," prints a range: ",[256,926,927],{},"A-B"," (inclusive), ",[256,930,931],{},"A-",[256,933,934],{},"-N"," (the last N bytes), at most 64 MiB.",[767,937,938,939,941],{},"SDK: ",[256,940,451],{}," returns up to 64 MiB.",[233,943,945],{"id":944},"stream-a-large-file-to-a-program","Stream a large file to a program",[229,947,948,949,952,953,955,956,517,959,962],{},"A file link is a short-lived URL for one file. It needs no ",[256,950,951],{},"Authorization"," header and answers HTTP ",[256,954,457],{}," requests, so programs such as ",[256,957,958],{},"curl",[256,960,961],{},"ffmpeg",", a video player or DuckDB can seek and stream without downloading the whole file.",[538,964,966],{"className":540,"code":965,"language":542,"meta":543,"style":543},"flashdrive file link DOCUMENT_ID --ttl 900\n",[256,967,968],{"__ignoreMap":543},[547,969,970],{"class":549,"line":550},[547,971,965],{},[229,973,974],{},"A CLI link lasts from 60 to 3,600 seconds (900 by default). Treat the link as a secret until it expires, and never paste it into a file or a prompt.",[233,976,978],{"id":977},"on-a-mounted-drive","On a mounted drive",[229,980,981,982,985,986,517,989,517,992,517,995,517,997,1000,1001,411,1003,1005],{},"On macOS or Linux, ",[844,983,984],{"href":147},"mount the drive"," and use the tools you already have: ",[256,987,988],{},"ls",[256,990,991],{},"find",[256,993,994],{},"rg",[256,996,354],{},[256,998,999],{},"head",", an editor or your own scripts. They work on every file, whatever its type. A mount downloads only the parts of each file that a program reads, so a tool that reads every file in a large drive downloads every file it reads; prefer the drive's own ",[256,1002,792],{},[256,1004,354],{}," for a first pass, then open the files they point to.",[233,1007,1009],{"id":1008},"keep-up-with-changes","Keep up with changes",[229,1011,1012,1013,1016,1017,1020,1021,506],{},"To follow what changed in a drive since your last look, use the change feed: ",[256,1014,1015],{},"GET \u002Fv1\u002Fdrives\u002F{drive_id}\u002Fchanges"," in the API, or ",[256,1018,1019],{},"client.drives.changes(cursor=...)"," in the SDK. Take a cursor first, list the drive, then ask for changes since that cursor. See the ",[844,1022,1023],{"href":197},"content API",[229,1025,1026,1027,517,1030,411,1033,506],{},"See also the ",[844,1028,1029],{"href":176},"MCP tools",[844,1031,1032],{"href":155},"CLI commands",[844,1034,1035],{"href":102},"SDK file methods",[1037,1038,1039],"style",{},"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);}",{"title":543,"searchDepth":556,"depth":556,"links":1041},[1042,1043,1044,1045,1046,1047,1048,1049,1050],{"id":235,"depth":556,"text":236},{"id":509,"depth":556,"text":510},{"id":583,"depth":556,"text":584},{"id":718,"depth":556,"text":719},{"id":851,"depth":556,"text":852},{"id":905,"depth":556,"text":906},{"id":944,"depth":556,"text":945},{"id":977,"depth":556,"text":978},{"id":1008,"depth":556,"text":1009},"List, glob, grep and read the files in a drive, from an agent, the CLI, Python or the API.","md",null,{},{"title":22},{"title":22,"description":1051},"Mo_DT-hUcmpz7mPwPoOJqBlQvcUMFfm_XDsbUkbXw6E",[1059,1061],{"title":18,"path":19,"stem":20,"description":1060,"children":-1},"The building blocks of FlashDrive: who has access, where files live and how changes stay safe.",{"title":26,"path":27,"stem":28,"description":1062,"children":-1},"Ways teams use drives with their agents, sandboxes and tools.",1795366546182]