Related guides
Endpoints
Next steps
- API overview: base URLs, authentication, and pagination
- Errors: status codes and the error format
- Editions: which endpoints each edition serves
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Browse Dropbox and Google Drive folders on a connected account with the OneCLI API, then limit an agent’s grant to only the folders you choose.
| Endpoint | Method and path | What it does |
|---|---|---|
| Browse a Dropbox connection’s folders | GET /apps/dropbox/folders | Browse the subfolders of a path on a connected Dropbox account so you can pick folders for a grant’s resource scope. |
| Browse a Google Drive connection’s folders | GET /apps/google-drive/folders | Browse the subfolders of a Google Drive folder, or My Drive and shared drives at the top level, to pick folders for a grant’s scope. |
| Resolve Google Drive folder names | GET /apps/google-drive/folder-names | Resolve saved Google Drive folder ids to readable names for display. |