Find files on Yandex Disk and crunch the exports
Connect Yandex Disk to the AI agent: folders, files, trash and public links. The agent finds documents, crunches exports and files results back.
How the agent works with Яндекс Диск
The agent calls the Disk REST API at cloud-api.yandex.net and works with the tree of the connected account: it lists folders and files, reads metadata — name, type, size, modification date — finds a document by name, extension or folder and hands over the link instead of making you scroll. It also picks up an export or report straight from Disk, runs the numbers on it and keeps an eye on remaining space and on new files appearing in your work folders.
One trait of Disk is worth knowing up front: a file can only be put there from an external URL — the API does not allow passing contents directly. So the agent returns the result of a calculation through a link rather than as a stream of bytes. Someone else folder enters its field of view only after the owner grants it View or Edit in the sharing settings, and whatever is deleted goes to the trash, where it can still be retrieved.
On the write side the agent creates folders, copies and moves files, deletes what is no longer needed and publishes links to documents you have to share. It asks before overwriting a file with the same name and before deleting, and it treats publishing as a decision of its own: a public link opens the document to anyone who receives it, and in work folders that call is yours, not the agent's. What it put where is stated explicitly, as a path rather than a «done».
Large operations — copying or moving a folder — are performed asynchronously by the API: the response is a link to a status, and the agent waits for completion instead of reporting «done» halfway. The Disk REST API cannot open access to a single folder, rights always cover the whole Disk, which is why limited access is set up as a separate account. The agent holds the request rate itself, and it calls an empty folder empty instead of staying silent.
Integration scenarios
Finding a document on Disk
The agent finds a file by name, type or folder and sends you the link, so you never have to scroll the folder tree by hand.
Crunching an export from Disk
The agent picks up an export or report straight from Disk, runs the numbers on it and files the result back into the right folder.
Sorting folders and public links
The agent creates a folder, copies or moves files and publishes a link to the document you need to share.
Storage space and new files
Once a week the agent reports how much space is left on Disk and which files showed up in your work folders over those days.
Back out of the trash
The agent looks into the Disk trash, finds the document deleted the other day by its name and date and puts it back into the work folder.
Duplicates and old versions
The agent compares names, sizes and modification dates in a work folder and shows the duplicates and older versions of one document that can go.
Яндекс Диск examples
Нашёл: «Документы/2026/Акты/Ремстрой_акт_06.pdf», загружен 3 июля.
Рядом лежат ещё две версии от мая — файл июля самый свежий по дате. Публичную ссылку сделал, действует до отзыва.
How to connect
Before you connect
- An organization Yandex 360 account if you need work files
- Free space on the Disk for new files
- Uploads work only from an external link, not raw contents
- 1
Pick the account whose Disk you connect
Access is granted by whichever account confirms the code. For work files, sign in to disk.yandex.ru with your Yandex 360 organization account first.
- 2
Accept shared folders onto your Disk
The folder owner clicks «Настроить доступ» and grants «Редактирование» or «Просмотр». An accepted folder costs no space on your Disk.
- 3
Check the access scope before you confirm
The request covers reading the whole Disk, writing anywhere, Disk info and app-folder access. It cannot be granted partially.
FAQ
With a Yandex ID confirmation code: click Connect, enter the code on the Yandex page and confirm access with the account whose Disk you need. For work files that is your organization's Yandex 360 account — a personal account has a different Disk.
Files and folders of the connected account along with the trash, including folders shared by colleagues: someone else's folder becomes visible once the owner grants it View or Edit under the sharing settings.
The agent creates folders, copies, moves and deletes files and publishes links. Uploading is only possible from an external URL — the Disk API does not allow passing file contents directly.
No: the rights requested cover the whole Disk — read, write, Disk info and the app folder. They cannot be granted partially, so for limited access people set up a separate account.