Skip to content

.gbdrive File Storage 🟑 BETA

The .gbdrive prefix is the Drive-owned area of a bot where user files and media are stored.

Layout

{bot}.gbai/{bot}.gbdrive/
β”œβ”€β”€ documents/
β”œβ”€β”€ reports/
β”œβ”€β”€ exports/
└── apps/{appname}/     HTMX apps synced to SITES_ROOT

Files are manipulated through the oc client against OtterIO with credentials read from Vault (secret/gbo/drive). The drive monitors reload state on ETag change; botserver is not restarted for a config.csv change.

Access path

Vault secret/gbo/drive β†’ oc alias β†’ .gbdrive object keys β†’ drive monitor β†’ bot can read the file

Never point code at local filesystem paths for bot content: the runtime materializes bots through Drive. Uploaded knowledge goes to .gbkb, not .gbdrive.

Limits

Claim Status
Bucket layout Org workspace uses one .gbai prefix with several sibling {bot}.gb* directories.
Quotas Read ../10-configuration-deployment/system-limits.md; do not invent a size.
Credentials in pages Forbidden; retrieve them from Vault into /tmp only.