OneInfer Persistent Storage API
The Persistent Storage API from OneInfer — 3 operation(s) for persistent storage.
The Persistent Storage API from OneInfer — 3 operation(s) for persistent storage.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/oneinfer-ai:oneinfer-ai-persistent-storage-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OneInfer Persistent Storage API
description: Universal LLM APIs with Bearer Token Authentication
version: 0.1.0
tags:
- name: Persistent Storage
paths:
/v1/storage-sync/{developer_id}/{storage_id}/file:
put:
tags:
- Persistent Storage
summary: Upload Reconciled Storage File
description: Accept a file created or changed inside an attached GPU instance.
operationId: upload_reconciled_storage_file_v1_storage_sync__developer_id___storage_id__file_put
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
- name: storage_id
in: path
required: true
schema:
type: string
title: Storage Id
- name: path
in: query
required: true
schema:
type: string
minLength: 1
title: Path
- name: token
in: query
required: true
schema:
type: string
title: Token
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/storage:
get:
tags:
- Persistent Storage
summary: List Storage Volumes
description: List all persistent storage volumes for the authenticated developer.
operationId: list_storage_volumes_v1_storage_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- BearerAuth: []
post:
tags:
- Persistent Storage
summary: Create Storage Volume
description: Create a new persistent storage volume.
operationId: create_storage_volume_v1_storage_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateVolumeRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DeveloperGpuStorageCollection'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/storage/{storage_id}:
get:
tags:
- Persistent Storage
summary: Get Storage Volume
description: Get details for a specific storage volume.
operationId: get_storage_volume_v1_storage__storage_id__get
parameters:
- name: storage_id
in: path
required: true
schema:
type: string
title: Storage Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
delete:
tags:
- Persistent Storage
summary: Delete Storage Volume
description: Delete a persistent storage volume.
operationId: delete_storage_volume_v1_storage__storage_id__delete
parameters:
- name: storage_id
in: path
required: true
schema:
type: string
title: Storage Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
StorageSpec:
type: string
enum:
- SSD
- HDD
- NVMe
title: StorageSpec
CreateVolumeRequest:
properties:
volume_type:
type: string
title: Volume Type
description: Volume type (e.g., 'NVMe', 'HDD')
size:
type: integer
exclusiveMinimum: 0.0
title: Size
description: Volume size in GB
name:
type: string
maxLength: 128
minLength: 1
title: Name
description: Volume name
location_code:
type: string
title: Location Code
description: Location code
default: FIN-01
instance_id:
anyOf:
- type: string
- type: 'null'
title: Instance Id
description: Instance ID to attach volume to
type: object
required:
- volume_type
- size
- name
title: CreateVolumeRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
DeveloperGpuStorageCollection:
properties:
_id:
anyOf:
- type: string
example: 5eb7cf5a86d9755df3a6c593
- type: 'null'
title: Id
description: MongoDB document ObjectID
developer_id:
type: string
title: Developer Id
provider_name:
type: string
title: Provider Name
name:
anyOf:
- type: string
- type: 'null'
title: Name
instance_or_endpoint_id:
anyOf:
- type: string
- type: 'null'
title: Instance Or Endpoint Id
storage_id:
type: string
title: Storage Id
storage_size:
type: integer
title: Storage Size
storage_type:
anyOf:
- $ref: '#/components/schemas/StorageType'
- type: 'null'
storage_spec:
anyOf:
- $ref: '#/components/schemas/StorageSpec'
- type: 'null'
bucket_name:
anyOf:
- type: string
- type: 'null'
title: Bucket Name
isolation_prefix:
anyOf:
- type: string
- type: 'null'
title: Isolation Prefix
jfs_volume_name:
anyOf:
- type: string
- type: 'null'
title: Jfs Volume Name
redis_user:
anyOf:
- type: string
- type: 'null'
title: Redis User
redis_password:
anyOf:
- type: string
- type: 'null'
title: Redis Password
attached_instance_ids:
items:
type: string
type: array
title: Attached Instance Ids
region:
anyOf:
- type: string
- type: 'null'
title: Region
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- developer_id
- provider_name
- storage_id
- storage_size
- created_at
- updated_at
title: DeveloperGpuStorageCollection
StorageType:
type: string
enum:
- disk
- network_volume
title: StorageType
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Enter your JWT access token (without 'Bearer ' prefix)