Shardflux · Schema
Volume
Serverless ComputeAI AgentsGPU RenderingDeveloper ToolsCloud Infrastructure
Properties
| Name | Type | Description |
|---|---|---|
| id | string | UUIDv7, lowercase canonical form. |
| organization_id | string | UUIDv7, lowercase canonical form. |
| project_id | string | UUIDv7, lowercase canonical form. |
| name | string | |
| kind | string | shared: shared file storage; project_space: platform-managed conversation storage; block: exclusive ext4 device. |
| cloned_from_volume_id | object | |
| quota_gib | integer | Requested size limit (GiB); for block volumes, the exact device size. |
| org_shared | boolean | Attachable to workspaces of every project of the organization (otherwise only its own project). |
| backup_policy | string | filesystem: environment file system backups; checkpoint: captured with the attached workspace. |
| state | string | creating -> available -> deleting -> deleted; failed (see `error`). Executed by the cell. |
| state_reason | object | |
| error | object | |
| usage | object | Storage is metered as volume_storage_gib_seconds from these measurements. |
| live_attachments | integer | Attachments in attaching|attached|detaching. |
| active_operation | object | |
| created_by | object | |
| created_at | string | RFC 3339 UTC timestamp with Z. |
| updated_at | string | RFC 3339 UTC timestamp with Z. |
| delete_requested_at | object | |
| deleted_at | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/shardflux-dev/json-schema/shardflux-dev-volume-schema.json",
"title": "Volume",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/shardflux-dev-openapi.json#/components/schemas/Volume",
"type": "object",
"required": [
"id",
"organization_id",
"project_id",
"name",
"quota_gib",
"org_shared",
"backup_policy",
"state",
"state_reason",
"error",
"usage",
"live_attachments",
"active_operation",
"created_by",
"created_at",
"updated_at",
"delete_requested_at",
"deleted_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
"organization_id": {
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
"project_id": {
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
"name": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"shared",
"project_space",
"block"
],
"description": "shared: shared file storage; project_space: platform-managed conversation storage; block: exclusive ext4 device."
},
"cloned_from_volume_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
{
"type": "null"
}
]
},
"quota_gib": {
"type": "integer",
"description": "Requested size limit (GiB); for block volumes, the exact device size."
},
"org_shared": {
"type": "boolean",
"description": "Attachable to workspaces of every project of the organization (otherwise only its own project)."
},
"backup_policy": {
"type": "string",
"enum": [
"filesystem",
"checkpoint"
],
"description": "filesystem: environment file system backups; checkpoint: captured with the attached workspace."
},
"state": {
"type": "string",
"enum": [
"creating",
"available",
"deleting",
"deleted",
"failed"
],
"description": "creating -> available -> deleting -> deleted; failed (see `error`). Executed by the cell."
},
"state_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": true,
"description": "Closed snake_case code and a safe message reported by the cell."
},
{
"type": "null"
}
]
},
"usage": {
"type": "object",
"required": [
"used_bytes",
"measured_at",
"quota_bytes",
"quota_exceeded"
],
"properties": {
"used_bytes": {
"anyOf": [
{
"type": "integer",
"description": "Last measured stored bytes (null until the cell first measures)."
},
{
"type": "null"
}
]
},
"measured_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
{
"type": "null"
}
]
},
"quota_bytes": {
"type": "integer"
},
"quota_exceeded": {
"anyOf": [
{
"type": "boolean",
"description": "Whether used_bytes is over quota_bytes; null until the first measurement. Volumes the platform manages (the project space and the setup cache) are sized by the platform and report false."
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"description": "Storage is metered as volume_storage_gib_seconds from these measurements."
},
"live_attachments": {
"type": "integer",
"description": "Attachments in attaching|attached|detaching."
},
"active_operation": {
"anyOf": [
{
"$ref": "#/$defs/Operation"
},
{
"type": "null"
}
]
},
"created_by": {
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"type": {
"type": "string",
"enum": [
"user",
"api_key"
]
},
"id": {
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
}
},
"additionalProperties": false
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
"delete_requested_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
{
"type": "null"
}
]
},
"deleted_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"$defs": {
"Operation": {
"type": "object",
"required": [
"id",
"kind",
"state",
"workspace_id",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
"kind": {
"type": "string",
"enum": [
"open",
"suspend",
"resume",
"fork",
"snapshot",
"restore",
"delete",
"move",
"resize",
"upgrade",
"volume_create",
"volume_attach",
"volume_detach",
"volume_delete",
"reset",
"layer_snapshot"
]
},
"state": {
"type": "string",
"enum": [
"queued",
"capacity_pending",
"running",
"succeeded",
"failed",
"canceled"
]
},
"workspace_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
{
"type": "null"
}
]
},
"volume_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
"started_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
{
"type": "null"
}
],
"description": "When the cell started executing the operation: set once, in the transaction that first moves it to `running`, and never changed afterwards (it stays set if the operation later returns to `capacity_pending`, e.g. when a host rejects the start). null while the operation is `queued`, or `capacity_pending` before it ever ran, and on an operation canceled before it started. An operation the cell finishes without running it (e.g. `dependency_failed`) gets started_at = completed_at. created_at to started_at is the time queued; started_at to completed_at the time running."
},
"completed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
{
"type": "null"
}
]
},
"state_reason": {
"anyOf": [
{
"type": "string",
"description": "Closed reason code while waiting (e.g. capacity_pending: no_ready_host)."
},
{
"type": "null"
}
]
},
"input": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"error": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"result": {
"type": "object",
"properties": {
"durable": {
"type": "boolean",
"description": "suspend and fork: whether the capture is in durable storage. false while `durability.state` is pending (the suspend completed on its host) or lost; true once it committed. Absent on other kinds."
},
"suspend_path": {
"type": "string",
"description": "suspend: `local_commit` when the suspend completed on its host and the durable copy followed in the background."
},
"durability": {
"type": "object",
"required": [
"state"
],
"properties": {
"state": {
"type": "string",
"enum": [
"pending",
"durable",
"lost"
],
"description": "pending: sealed on its host, the durable copy is being written; durable: the copy committed; lost: the copy could not be made and the previous recovery point stays current."
},
"checkpoint_id": {
"type": "string",
"description": "The checkpoint being made durable."
},
"generation_id": {
"type": "string",
"description": "Its generation on the host."
},
"local_commit_at": {
"type": "string",
"description": "RFC 3339: when the suspend (or fork) completed on its host."
},
"durable_by": {
"type": "string",
"description": "RFC 3339: when the durable copy is expected to have committed (local_commit_at + the deadline)."
},
"durable_at": {
"type": "string",
"description": "RFC 3339 (state durable): when the durable copy committed."
},
"local_commit_to_durable_ms": {
"type": "number",
"description": "State durable: local_commit_at to durable_at, in milliseconds."
},
"overdue_at": {
"type": "string",
"description": "RFC 3339: set once durable_by passed while the copy was still pending; it keeps retrying."
},
"reason": {
"type": "string",
"description": "State lost: why, e.g. host_lost."
},
"code": {
"type": "string",
"description": "State lost: the error code of the failed copy."
},
"recovery_point_checkpoint_id": {
"anyOf": [
{
"type": "string",
"description": "State lost: the durable checkpoint that stays the recovery point (null when there is none)."
},
{
"type": "null"
}
]
}
},
"additionalProperties": true
},
"lost_suspend": {
"type": "object",
"required": [
"checkpoint_id"
],
"properties": {
"checkpoint_id": {
"type": "string",
"description": "The suspend checkpoint whose durable copy was lost."
},
"generation_id": {
"type": "string",
"description": "Its generation on the host."
},
"reason": {
"type": "string",
"description": "Why it was lost, e.g. host_lost."
},
"suspended_at": {
"type": "string",
"description": "RFC 3339: when that suspend captured the workspace."
},
"restored_checkpoint_id": {
"type": "string",
"description": "The earlier durable checkpoint this resume restored."
},
"state_as_of": {
"type": "string",
"description": "RFC 3339: when the restored checkpoint committed; the workspace state is as of then."
}
},
"additionalProperties": true
},
"host_lost": {
"type": "object",
"required": [
"detected_at"
],
"properties": {
"detected_at": {
"type": "string",
"description": "RFC 3339: when the host failure was detected; the workspace was suspended then."
},
"restored_from": {
"type": "string",
"enum": [
"disk",
"checkpoint"
],
"description": "resume and open: disk when the workspace booted from its disk (files kept, processes and memory not); checkpoint when it was restored from its newest checkpoint (see state_as_of). Absent on a suspend."
},
"restored_checkpoint_id": {
"type": "string",
"description": "restored_from checkpoint: the checkpoint this resume restored."
},
"state_as_of": {
"type": "string",
"description": "restored_from checkpoint, RFC 3339: when that checkpoint committed; the workspace state is as of then."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
},
"progress": {
"$ref": "#/$defs/SuspendProgress"
}
},
"additionalProperties": false
},
"SuspendProgress": {
"type": "object",
"required": [
"operation_id",
"state",
"workspace_state",
"phase",
"cancelable",
"supported",
"safe_action"
],
"properties": {
"operation_id": {
"type": "string",
"format": "uuid",
"description": "UUIDv7, lowercase canonical form."
},
"state": {
"type": "string",
"enum": [
"queued",
"capacity_pending",
"running",
"succeeded",
"failed",
"canceled"
]
},
"workspace_state": {
"type": "string",
"enum": [
"creating",
"starting",
"running",
"suspending",
"suspended",
"resuming",
"forking",
"stopping",
"failed",
"deleting",
"deleted"
]
},
"phase": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_]*$",
"description": "Actual snapshot preparation/capture phase, or an explicitly unavailable control status."
},
"cancelable": {
"type": "boolean",
"description": "True only while the host can acknowledge cancellation before its capture cut."
},
"supported": {
"type": "boolean"
},
"safe_action": {
"type": "string",
"enum": [
"wait_for_terminal",
"resume",
"retry_tools",
"inspect_failure"
]
},
"phase_started_at": {
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
"deadline_at": {
"type": "string",
"format": "date-time",
"description": "RFC 3339 UTC timestamp with Z."
},
"accepted": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/shardflux-dev-volume"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.