Management API

Programmatically manage your NeuralHub resources.

Download OpenAPI Specification (JSON)

User

Get Profile

GET /api/user

Returns the authenticated user's profile information.

Update Profile

POST /api/user/update

Updates the user's profile (e.g., name).

Workspaces

List Workspaces

GET /api/v1/workspaces

Returns a list of workspaces the user has access to.

Get Workspace Details

GET /api/v1/workspaces/[id]

Returns details for a specific workspace, including assigned pods.

Storage

Upload File

POST /api/storage/upload

Uploads a file to the specified workspace.

  • Query Params: filename, workspaceId
  • Body: Raw binary content

List Files

GET /api/storage/list

Lists files in a workspace.

  • Query Params: workspaceId, prefix (optional)
NeuralHub — Unified AI API Gateway