Endpoints

Create Storage

POSThttps://api.oneinfer.ai/v1/storage

Create a new persistent storage volume on the ULA network.

Request Body

sizenumberrequired

Requested storage size in GB.

namestring

Optional human-readable name for the volume.

Example Request

curl -X POST https://api.oneinfer.ai/v1/storage   -H "Authorization: Bearer <ACCESS_TOKEN>"   -H "Content-Type: application/json"   -d '{
    "size": 50,
    "name": "my-dataset-volume"
  }'

Error Status Codes

CodeStatusDescription
200OKStorage volume created successfully.
401UnauthorizedMissing or invalid Authorization header / Bearer token.
422Unprocessable EntityRequest body failed schema validation (e.g. missing size field).
500Internal Server ErrorUnexpected error creating the storage volume.

Response

202 - application/json