Storage

NeuralHub provides a flexible storage system where you can create storage containers and connect them to one or more workspaces.

Overview

Storage is managed globally but accessed locally within workspaces.

  • Global Storage Manager: Create and manage your storage containers at /dashboard/storage.
  • Workspace Connection: In a workspace's details page, use the checkbox list to connect specific storage containers.

Once connected, files in the storage container become accessible to agents and pods running within that workspace.

API Reference

Upload File

POST /api/storage/upload

Uploads a file to the specified workspace.

  • Query Params: filename, workspaceId
  • Body: Raw file content
  • Auth: Bearer Token (JWT or API Key)

List Files

GET /api/storage/list

Lists all files in a workspace.

  • Query Params: workspaceId, prefix (optional)

Delete File

DELETE /api/storage/delete

Deletes a file permanently.

  • Query Params: url, workspaceId
NeuralHub — Unified AI API Gateway