Storage API
This part introduces the Storage API functions available in AIOS. These functions allow agents to interact with the file system for various operations such as mounting storage, retrieving, creating, modifying, and sharing files.
Interactions with the storage layer are handled through the StorageQuery
class:
All storage functions return a StorageResponse
object with these key attributes:
response_message
: Contains the operation result or requested datafinished
: Boolean indicating whether the operation completed successfullyerror
: Error message (if any)status_code
: HTTP status code
Last updated