uploads.sh · Schema

Usage

CompanyDeveloper ToolsCIAutomationScreenshots

Properties

Name Type Description
workspace string
bytes integer
objects integer
sharedBytes integer
sharedObjects integer
uploadsInPeriod integer
periodStart string Current billing period as `YYYY-MM` (UTC).
updatedAt string
scopes array
plan string
maxStorageBytes integer
storageRemainingBytes integer
maxUploadsPerPeriod integer
uploadsRemaining integer
storageBudgetBasis string Which byte count the storage cap applies to. `shared` for a workspace on its own bucket, where only hosted residue is metered.
storage object
View JSON Schema on GitHub

JSON Schema

uploads-sh-usage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uploads-sh/json-schema/uploads-sh-usage-schema.json",
  "title": "Usage",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uploads-sh-openapi.json#/components/schemas/Usage",
  "type": "object",
  "required": [
    "workspace",
    "bytes",
    "objects",
    "uploadsInPeriod",
    "scopes",
    "plan",
    "storageBudgetBasis",
    "storage"
  ],
  "properties": {
    "workspace": {
      "type": "string"
    },
    "bytes": {
      "type": "integer",
      "minimum": 0
    },
    "objects": {
      "type": "integer",
      "minimum": 0
    },
    "sharedBytes": {
      "type": "integer",
      "minimum": 0
    },
    "sharedObjects": {
      "type": "integer",
      "minimum": 0
    },
    "uploadsInPeriod": {
      "type": "integer",
      "minimum": 0
    },
    "periodStart": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}$",
      "description": "Current billing period as `YYYY-MM` (UTC)."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "plan": {
      "type": "string"
    },
    "maxStorageBytes": {
      "type": "integer",
      "minimum": 0
    },
    "storageRemainingBytes": {
      "type": "integer",
      "minimum": 0
    },
    "maxUploadsPerPeriod": {
      "type": "integer",
      "minimum": 0
    },
    "uploadsRemaining": {
      "type": "integer",
      "minimum": 0
    },
    "storageBudgetBasis": {
      "type": "string",
      "enum": [
        "total",
        "shared"
      ],
      "description": "Which byte count the storage cap applies to. `shared` for a workspace on its own bucket, where only hosted residue is metered."
    },
    "storage": {
      "type": "object",
      "required": [
        "mode",
        "fallbackLanes",
        "health"
      ],
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "shared",
            "byo"
          ]
        },
        "fallbackLanes": {
          "type": "integer",
          "minimum": 0
        },
        "health": {
          "type": "object",
          "required": [
            "ok"
          ],
          "properties": {
            "ok": {
              "type": "boolean"
            },
            "code": {
              "type": "string",
              "enum": [
                "auth",
                "bucket_missing",
                "unreachable"
              ]
            },
            "message": {
              "type": "string"
            },
            "since": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/uploads-sh-usage"
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.